<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Requirement_Retrieve, SOAP API (Thread)</title><description>&#xD;
&#xD;
&#xD;
 Hi,     I have a problem using the Requirement_Retrieve and RemoteFilters. I try to filter by name using the following code:  RemoteRequirement[] req = connection.Requirement_Retrieve(new [] {new RemoteFilter {PropertyName = "Name", StringValue = "MyRequirement1"} }, 1, 10); This works as long, as the requirement "MyRequirement1" does not have child requirements and I get an array that contains one element, as expected.   However if it's not a leaf element, the RemoteFilter does not work and I get an empty array. How can I search for non-leaf elements?      Best regards,  Guenther </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/1465.aspx</link><item><guid isPermaLink="false">threadId=1465</guid><author>Guenther Grantig (ggrantig@mailinator.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">api</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> soap</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> requirements</category><title>Requirement_Retrieve, SOAP API</title><description>&#xD;
&#xD;
&#xD;
 Hi,     I have a problem using the Requirement_Retrieve and RemoteFilters. I try to filter by name using the following code:  RemoteRequirement[] req = connection.Requirement_Retrieve(new [] {new RemoteFilter {PropertyName = "Name", StringValue = "MyRequirement1"} }, 1, 10); This works as long, as the requirement "MyRequirement1" does not have child requirements and I get an array that contains one element, as expected.   However if it's not a leaf element, the RemoteFilter does not work and I get an empty array. How can I search for non-leaf elements?      Best regards,  Guenther </description><pubDate>Thu, 02 Jun 2016 12:41:26 -0400</pubDate><a10:updated>2016-06-02T15:34:46-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1465.aspx</link></item><item><guid isPermaLink="false">messageId=2643</guid><author>Inflectra Sarah (donotreply6@kronodesk.net)</author><title>&#xD;
Hi Guenther&#xD;
&#xD;
    I'm afraid that is not possible, if you search by a lower level item it will in</title><description>&#xD;
Hi Guenther&#xD;
&#xD;
    I'm afraid that is not possible, if you search by a lower level item it will include the parents however in the list of returned results, so you could iterate up one level.     Regards   Sarah </description><pubDate>Thu, 02 Jun 2016 15:34:46 -0400</pubDate><a10:updated>2016-06-02T15:34:46-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1465.aspx#reply2643</link></item></channel></rss>