<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Report that link an incident to a test step (Thread)</title><description> Hi,  Im trying to make a report that link a incident to a test step but I dont see any query that can help me. I can link an incident to a test case or to a test set but not to a test step.  Can someone help me?  thanks,  Mchellaoui </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/2118.aspx</link><item><guid isPermaLink="false">threadId=2118</guid><author>mokhtar chellaoui (chellaouimokhtar@gmail.com)</author><title>Report that link an incident to a test step</title><description> Hi,  Im trying to make a report that link a incident to a test step but I dont see any query that can help me. I can link an incident to a test case or to a test set but not to a test step.  Can someone help me?  thanks,  Mchellaoui </description><pubDate>Thu, 28 Nov 2019 12:55:31 -0500</pubDate><a10:updated>2019-11-28T15:11:38-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2118.aspx</link></item><item><guid isPermaLink="false">messageId=3694</guid><author>mokhtar chellaoui (chellaouimokhtar@gmail.com)</author><title>    After browsing the documentation for hours, the best candidate table I could think of is R_Artif</title><description>    After browsing the documentation for hours, the best candidate table I could think of is R_ArtifactAssociations.  But the result of this query is not complete:  select value R from SpiraTestEntities.R_ArtifactAssociations as R where R.PROJECT_ID = ${ProjectId}  All the associations are not present in this table... Is that a bug?  When looking at a test run artifact, spira shows the steps where an incident occured. What is the query used to get this information? </description><pubDate>Thu, 28 Nov 2019 14:57:52 -0500</pubDate><a10:updated>2019-11-28T14:57:52-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2118.aspx#reply3694</link></item><item><guid isPermaLink="false">messageId=3695</guid><author>mokhtar chellaoui (chellaouimokhtar@gmail.com)</author><title>    I need to add that this query:  select value R from SpiraTestEntities.R_ArtifactAssociations as </title><description>    I need to add that this query:  select value R from SpiraTestEntities.R_ArtifactAssociations as R where R.PROJECT_ID = ${ProjectId}  Gives me the following error message:  System.Data.EntitySqlException: PROJECT_ID is not a member of type Inflectra.SpiraTest.DataModel.R_ArtifactAssociation in the currently loaded schemas. Near simple identifier, line 1, column 75.  So by removing where R.PROJECT_ID = ${ProjectId}, I get a result, but this result is incomplete. I only see a related-to artifact association type between two incidents in my current project, the rest of the data are from years ago. </description><pubDate>Thu, 28 Nov 2019 15:11:38 -0500</pubDate><a10:updated>2019-11-28T15:11:38-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2118.aspx#reply3695</link></item></channel></rss>