Spira API: need an API when I do not know a project ID

Wednesday, October 27, 2021

Standart API for getting a requirement requires knowing a project_id: projects/{project_id}/requirements/{requirement_id}


But requirements are unique through the system and in our company people used to share them using only their ids. Is there a way to get a requirement through API without knowing from what project it should come?

Or is there an API to recieve a project to which particular requirement belongs to?

2 Replies
Wednesday, October 27, 2021
re: ilyapolyakov Wednesday, October 27, 2021

Good news, we have an API for that very purpose :-)


You give it the artifact type (e.g. 1 for requirement) and the ID of the artifact and it returns the project ID.

Wednesday, October 27, 2021
re: inflectra.david Wednesday, October 27, 2021


Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885


  • Started: Wednesday, October 27, 2021
  • Last Reply: Wednesday, October 27, 2021
  • Replies: 2
  • Views: 3030