<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Incident - How Many Times In A Status (Thread)</title><description>
All

    My report writing skills within SpiraTest are sadly not the strongest. If I had DB access I could probably produce the report i require.     For a project i am currently on it would be fantastic to generate a custom report which outputs all the incidents within a project, the name and the description and the current status and how many times it has changed status and output the historic status names      I know we can see this within each incident. A report to show it would be great </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spiratest/issues-questions/1364.aspx</link><item><guid isPermaLink="false">threadId=1364</guid><author>Howard Clark (itqatestmanagement@Impellam.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">custom reports writing</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> incident status</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> workflow</category><title>Incident - How Many Times In A Status</title><description>
All

    My report writing skills within SpiraTest are sadly not the strongest. If I had DB access I could probably produce the report i require.     For a project i am currently on it would be fantastic to generate a custom report which outputs all the incidents within a project, the name and the description and the current status and how many times it has changed status and output the historic status names      I know we can see this within each incident. A report to show it would be great </description><pubDate>Mon, 15 Feb 2016 16:26:33 -0500</pubDate><a10:updated>2016-02-23T18:19:42-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1364.aspx</link></item><item><guid isPermaLink="false">messageId=2500</guid><author>Inflectra Sarah (donotreply6@kronodesk.net)</author><title>&#xD;
Hi Scott&#xD;
&#xD;
    I just dug an example report (that we created for another customer)     It generat</title><description>&#xD;
Hi Scott&#xD;
&#xD;
    I just dug an example report (that we created for another customer)     It generates a report of requirements and the number of times they have been modified:       select H.ARTIFACT_ID as RequirementID, R.NAME as&#xD;
RequirementName, X.VERSION_NUMBER as ReleaseVersionNumber, count(H.ARTIFACT_ID)&#xD;
as ModifiedCount from SpiraTestEntities.R_HistoryChangeSets as H inner join&#xD;
SpiraTestEntities.R_Requirements as R on R.REQUIREMENT_ID = H.ARTIFACT_ID inner&#xD;
join SpiraTestEntities.R_Releases as X on X.RELEASE_ID = R.RELEASE_ID where&#xD;
H.PROJECT_ID = ${ProjectId}  &#xD;
&#xD;
  and H.ARTIFACT_TYPE_ID = 1 group by H.ARTIFACT_ID, R.NAME,&#xD;
X.VERSION_NUMBER        RequirementID  RequirementName  ReleaseVersionNumber  ModifiedCount    91  new test req  1.0.0.0  2    92  Ability to edit editions  1.0.0.0  3    4  Ability to add new books to the system  1.0.0.0.0001  7    5  Ability to edit existing books in the system  1.0.0.0.0001  4    6  Ability to delete existing books in the system  1.0.0.0.0002  4    26  Ability to create new users in the system  1.0.1.0.0001  2    9  Ability to associate books with different editions  1.1.0.0.0002  2    72  Ability to archive data in the system  1.1.0.0.0003  4    10  Ability to completely erase all books stored in the system with one click  1.2.0.0  2         Regards  Sarah </description><pubDate>Tue, 23 Feb 2016 18:14:48 -0500</pubDate><a10:updated>2016-02-23T18:14:48-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1364.aspx#reply2500</link></item><item><guid isPermaLink="false">messageId=2502</guid><author>Inflectra Sarah (donotreply6@kronodesk.net)</author><title>&#xD;
To some something similar for incidents you could use:&#xD;
&#xD;
      select H.ARTIFACT_ID as IncidentID</title><description>&#xD;
To some something similar for incidents you could use:&#xD;
&#xD;
      select H.ARTIFACT_ID as IncidentID, INC.NAME as IncidentName, count(H.ARTIFACT_ID) as ModifiedCount from SpiraTestEntities.R_HistoryChangeSets as H inner join SpiraTestEntities.R_Incidents as INC on INC.INCIDENT_ID = H.ARTIFACT_ID where H.PROJECT_ID = ${ProjectId}    and H.ARTIFACT_TYPE_ID = 3 group by H.ARTIFACT_ID, INC.NAME           IncidentID  IncidentName  ModifiedCount    1  Cannot log into the application 2  3    6  The book listing screen doesn't sort  4    7  Cannot add a new book to the system  3    62  Bug on archiving system  2    63  just found a bug  2    64  Need to support Windows 10  6    66  bug when clicking link.  2    68  This is a new bug in the system  2    69  bug on create book page  2    72  defect when using the admin tools  2            Regards   Sarah </description><pubDate>Tue, 23 Feb 2016 18:17:40 -0500</pubDate><a10:updated>2016-02-23T18:17:40-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1364.aspx#reply2502</link></item><item><guid isPermaLink="false">messageId=2503</guid><author>Inflectra Sarah (donotreply6@kronodesk.net)</author><title>Also if you wanted to add on Description and current status you could use:      select H.ARTIFACT_ID</title><description>Also if you wanted to add on Description and current status you could use:      select H.ARTIFACT_ID as IncidentID, INC.NAME as IncidentName, INC.DESCRIPTION as Description,INC.INCIDENT_STATUS_NAME as CurrentStatus, count(H.ARTIFACT_ID) as ModifiedCount from SpiraTestEntities.R_HistoryChangeSets as H inner join SpiraTestEntities.R_Incidents as INC on INC.INCIDENT_ID = H.ARTIFACT_ID where H.PROJECT_ID = ${ProjectId}    and H.ARTIFACT_TYPE_ID = 3 group by H.ARTIFACT_ID, INC.NAME,  INC.INCIDENT_STATUS_NAME, INC.DESCRIPTION   </description><pubDate>Tue, 23 Feb 2016 18:19:42 -0500</pubDate><a10:updated>2016-02-23T18:19:42-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1364.aspx#reply2503</link></item></channel></rss>