<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: API: Obtain list of child requirements [RQ] belonging to parent  (Thread)</title><description> Currently, Im trying to find a way to calculate contribution of each requirements weight within whole requirement structure.   I already have a custom property on requirement level named Weight (it takes values from a list 2^n where n&gt;0 and n&lt;10 i.e 2,4,8,16...1024). So I want to compare all requirements on the same indentation level to get their relative contribution in terms of that Weight values.  So, my question is, as stated in the title - is there any way to get the list of children requirements of a particular requirement using API? </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/2512.aspx</link><item><guid isPermaLink="false">threadId=2512</guid><author>Goran Kurucev (gorank@menu.app)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">requirements</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> api</category><title>API: Obtain list of child requirements [RQ] belonging to parent </title><description> Currently, Im trying to find a way to calculate contribution of each requirements weight within whole requirement structure.   I already have a custom property on requirement level named Weight (it takes values from a list 2^n where n&gt;0 and n&lt;10 i.e 2,4,8,16...1024). So I want to compare all requirements on the same indentation level to get their relative contribution in terms of that Weight values.  So, my question is, as stated in the title - is there any way to get the list of children requirements of a particular requirement using API? </description><pubDate>Thu, 07 Oct 2021 12:36:24 -0400</pubDate><a10:updated>2021-10-10T09:21:24-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2512.aspx</link></item><item><guid isPermaLink="false">messageId=4149</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> In general, this API call retrieves requirements based on a filter:   http://api.inflectra.com/Spir</title><description> In general, this API call retrieves requirements based on a filter:   http://api.inflectra.com/Spira/Services/v6_0/RestServiceOperation.aspx?uri=projects%2f%7bproject_id%7d%2frequirements%2fsearch%3fstarting_row%3d%7bstarting_row%7d%26number_of_rows%3d%7bnumber_of_rows%7d&amp;method=POST   However I dont think it will get requirements that are children of a specific one, it relies on filtering by a field.  I would log a help desk ticket to get an enhancement raised since it is a good idea. </description><pubDate>Fri, 08 Oct 2021 12:28:03 -0400</pubDate><a10:updated>2021-10-08T12:28:03-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2512.aspx#reply4149</link></item><item><guid isPermaLink="false">messageId=4150</guid><author>Goran Kurucev (gorank@menu.app)</author><title> Thanks for your reply. I managed to successfully get the list of direct children requirements by us</title><description> Thanks for your reply. I managed to successfully get the list of direct children requirements by using IndentLevel property.  If parent is known, its direct children (only) have a length of IndentLevel property that is 3 greater than parents IndentLevel, and childs IndentLevel property substring after trimming  the last three chars is the same as their parents IndentLevel.  Nevertheless, it would be quite useful to have a parentId property, if possible. </description><pubDate>Sun, 10 Oct 2021 09:21:24 -0400</pubDate><a10:updated>2021-10-10T09:21:24-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2512.aspx#reply4150</link></item></channel></rss>