<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Spira API: need an API when I do not know a project ID (Thread)</title><description> 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? </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/issues-questions/2521.aspx</link><item><guid isPermaLink="false">threadId=2521</guid><author>Ilia Poliakov (ilya.polyakov@edetek.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">api</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> requirement</category><title>Spira API: need an API when I do not know a project ID</title><description> 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? </description><pubDate>Wed, 27 Oct 2021 08:25:10 -0400</pubDate><a10:updated>2021-10-27T12:06:37-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2521.aspx</link></item><item><guid isPermaLink="false">messageId=4162</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> Good news, we have an API for that very purpose :-)   http://api.inflectra.com/Spira/Services/v6_0/</title><description> Good news, we have an API for that very purpose :-)   http://api.inflectra.com/Spira/Services/v6_0/RestServiceOperation.aspx?uri=system%2fartifact-types%2f%7bartifact_type_id%7d%2f%7bartifact_id%7d%2fproject-id&amp;method=GET   You give it the artifact type (e.g. 1 for requirement) and the ID of the artifact and it returns the project ID. </description><pubDate>Wed, 27 Oct 2021 11:16:19 -0400</pubDate><a10:updated>2021-10-27T11:16:19-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2521.aspx#reply4162</link></item><item><guid isPermaLink="false">messageId=4163</guid><author>Ilia Poliakov (ilya.polyakov@edetek.com)</author><title> Great! </title><description> Great! </description><pubDate>Wed, 27 Oct 2021 12:06:37 -0400</pubDate><a10:updated>2021-10-27T12:06:37-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2521.aspx#reply4163</link></item></channel></rss>