<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Getting source code associations for report (Thread)</title><description> Since we managing our requirements BDD-style, it makes good sense to have links between our Gherkin files (source code) and Requirements, since the Gherkin serves both as a test case and as an extension to the requirements. I dont want to maintain Gherkins as separate Spira artifacts since our CI server runs continuous (cucumber) tests based on those Gherkins, so they are considered source code.   Thankfully, this type of association is supported by Spira. However, Id like to make a custom report that shows the requirements listed and for each its associated source files (=gherkins). Now I dont see an out of the box table to use for getting to the source files (although I can pull that info out using the REST API). Also, Im not sure if the links between source files and requirements would show up in the ArtifactAssociations table (since the source files have no table and no Ids).  Is a report like this possible, or will it be possible in the near future?    </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/spirateam/reports/2658.aspx</link><item><guid isPermaLink="false">threadId=2658</guid><author>D L (dennis.lardenoye@pie.nl)</author><title>Getting source code associations for report</title><description> Since we managing our requirements BDD-style, it makes good sense to have links between our Gherkin files (source code) and Requirements, since the Gherkin serves both as a test case and as an extension to the requirements. I dont want to maintain Gherkins as separate Spira artifacts since our CI server runs continuous (cucumber) tests based on those Gherkins, so they are considered source code.   Thankfully, this type of association is supported by Spira. However, Id like to make a custom report that shows the requirements listed and for each its associated source files (=gherkins). Now I dont see an out of the box table to use for getting to the source files (although I can pull that info out using the REST API). Also, Im not sure if the links between source files and requirements would show up in the ArtifactAssociations table (since the source files have no table and no Ids).  Is a report like this possible, or will it be possible in the near future?    </description><pubDate>Thu, 04 Aug 2022 11:16:19 -0400</pubDate><a10:updated>2024-08-19T14:45:06-04:00</a10:updated><link>/Support/Forum/spirateam/reports/2658.aspx</link></item><item><guid isPermaLink="false">messageId=5707</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> Hi  The Standard Report sections should include this association. It wont be available for use in c</title><description> Hi  The Standard Report sections should include this association. It wont be available for use in custom sections because that table is not currently exposed as a reportable view.  If you run the Requirements Detailed report in Raw XML format, you should see the Source Code associations?  Regards  David </description><pubDate>Sun, 07 Aug 2022 16:15:00 -0400</pubDate><a10:updated>2022-08-07T16:15:00-04:00</a10:updated><link>/Support/Forum/spirateam/reports/2658.aspx#reply5707</link></item><item><guid isPermaLink="false">messageId=5708</guid><author>D L (dennis.lardenoye@pie.nl)</author><title> Hey David,  No unfortunately not. I think what you refer to are associations with source code   rev</title><description> Hey David,  No unfortunately not. I think what you refer to are associations with source code   revisions  .   I can link a revision with a requirement, and this will show up in the XML (SourceCodeRevisions subtable).  This will also show up in the Associations tab of the requirement in question (while a source code link will only show up in the associations tab of the source file, but not in the requirement)  While I can also see uses for linking source code revisions with requirements, this is not what we are looking for here. The link is between the source file itself and the requirement. Spira supports this, but the reporting does not.     </description><pubDate>Mon, 08 Aug 2022 07:41:52 -0400</pubDate><a10:updated>2022-08-08T07:41:52-04:00</a10:updated><link>/Support/Forum/spirateam/reports/2658.aspx#reply5708</link></item><item><guid isPermaLink="false">messageId=5710</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> Oh I see.  Does it not show up in the Attachments collection? </title><description> Oh I see.  Does it not show up in the Attachments collection? </description><pubDate>Tue, 09 Aug 2022 16:16:03 -0400</pubDate><a10:updated>2022-08-09T16:16:03-04:00</a10:updated><link>/Support/Forum/spirateam/reports/2658.aspx#reply5710</link></item><item><guid isPermaLink="false">messageId=5711</guid><author>D L (dennis.lardenoye@pie.nl)</author><title> That doesnt seem to be the case. I can add an existing source file as an attachment to a requiremen</title><description> That doesnt seem to be the case. I can add an existing source file as an attachment to a requirement (which is the other way around from what I would want), but also in that case, the association wont show up in any tables. Also, the listed Document attachment in this case has a strange (negative) ID in the Spira GUI.  </description><pubDate>Thu, 11 Aug 2022 13:31:55 -0400</pubDate><a10:updated>2022-08-11T13:31:55-04:00</a10:updated><link>/Support/Forum/spirateam/reports/2658.aspx#reply5711</link></item><item><guid isPermaLink="false">messageId=6683</guid><author>Ilia Poliakov (ilya.polyakov@edetek.com)</author><title>   dl.pie ,  Do you want to track   builds   as well?    </title><description>   dl.pie ,  Do you want to track   builds   as well?    </description><pubDate>Wed, 08 May 2024 08:57:50 -0400</pubDate><a10:updated>2024-05-08T08:57:50-04:00</a10:updated><link>/Support/Forum/spirateam/reports/2658.aspx#reply6683</link></item></channel></rss>