<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: API Requirements Test Coverage (Thread)</title><description> Im building a plugin to sync between Jira and SpiraTest using the REST API.  (Similar to  https://github.com/Inflectra/spira5_jira-datasync ).  One of the requirements is to create an Jira external link when a Test Case is associated as a Requirement Coverage.  1) .  Ideally, I would call to call an API to check when this event occurs after a certain date.   I can query Test Cases for LastUpdate but LastUpdate does not change when an association is created.  Is there a way to do this query?  2) .   Im trying to use this endpoint  projects/{project_id}/associations/{artifact_type_id}/{artifact_id}   to get associations between Requirements and Test Cases Im getting an empty array.    *  I tried  ` projects/{project_id}/associations/{requirement_artifact_type_id}/{requirement_id} `    *  I tried  ` projects/{project_id}/associations/{test_case_artifact_type_id}/{test_case_id} `  Does this endpoint work with Test Cases and Requirement Associations?  Note:   This endpoint works:   projects/{project_id}/requirements/{requirement_id}/test-cases   to show the relationship.    But if I dont find an answer to question 1.  I have to query for all Requirements and hit this endpoint for each Requirement every time I need to sync.   </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/2010.aspx</link><item><guid isPermaLink="false">threadId=2010</guid><author>David Villarama (david.villarama@science37.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">api</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> requirement coverage</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"/><title>API Requirements Test Coverage</title><description> Im building a plugin to sync between Jira and SpiraTest using the REST API.  (Similar to  https://github.com/Inflectra/spira5_jira-datasync ).  One of the requirements is to create an Jira external link when a Test Case is associated as a Requirement Coverage.  1) .  Ideally, I would call to call an API to check when this event occurs after a certain date.   I can query Test Cases for LastUpdate but LastUpdate does not change when an association is created.  Is there a way to do this query?  2) .   Im trying to use this endpoint  projects/{project_id}/associations/{artifact_type_id}/{artifact_id}   to get associations between Requirements and Test Cases Im getting an empty array.    *  I tried  ` projects/{project_id}/associations/{requirement_artifact_type_id}/{requirement_id} `    *  I tried  ` projects/{project_id}/associations/{test_case_artifact_type_id}/{test_case_id} `  Does this endpoint work with Test Cases and Requirement Associations?  Note:   This endpoint works:   projects/{project_id}/requirements/{requirement_id}/test-cases   to show the relationship.    But if I dont find an answer to question 1.  I have to query for all Requirements and hit this endpoint for each Requirement every time I need to sync.   </description><pubDate>Mon, 15 Apr 2019 21:07:29 -0400</pubDate><a10:updated>2019-05-01T13:51:13-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2010.aspx</link></item><item><guid isPermaLink="false">messageId=3566</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> Hi David,  Im afraid that specific endpoint is only for items that show up in the Associations tab </title><description> Hi David,  Im afraid that specific endpoint is only for items that show up in the Associations tab in the UI, so it would be:   requirements - requirements  requirements - incidents  incidents - requirements  incidents - incidents   But not items in the Test Coverage tab.  For that you would need to use the:  projects/{project_id}/requirements/{requirement_id}/test-cases   endpoint.  Regards  Adam </description><pubDate>Wed, 17 Apr 2019 23:44:13 -0400</pubDate><a10:updated>2019-04-17T23:44:13-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2010.aspx#reply3566</link></item></channel></rss>