Inflectra Customer Forums: API Requirements Test Coverage (Thread) 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. en-US(C) Copyright 2006-2024 Inflectra Corporation.support@inflectra.com/Computers/Software/Project_Management//Computers/Software/Quality_Assurance/KronoDesksupport@inflectra.comhttp://www.inflectra.com/kronodesk/forums/threads120/Support/Forum/spiratest/issues-questions/2010.aspxthreadId=2010David Villarama (david.villarama@science37.com)API Requirement CoverageAPI Requirements Test Coverage 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. Mon, 15 Apr 2019 21:07:29 -04002019-05-01T13:51:13-04:00/Support/Forum/spiratest/issues-questions/2010.aspxmessageId=3566David J (support1@inflectra.com) Hi David, Im afraid that specific endpoint is only for items that show up in the Associations tab 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 Wed, 17 Apr 2019 23:44:13 -04002019-04-17T23:44:13-04:00/Support/Forum/spiratest/issues-questions/2010.aspx#reply3566