Skip Navigation LinksForums > SpiraTest Forums > SpiraTest Issues & Questi... > Requirement_Retrieve, SOA...

Requirement_Retrieve, SOAP API RSS Feed

Thursday, June 2, 2016


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,
1 Replies
Sarah T.Sarah T.
re: Guenther Grantig on Thursday, June 2, 2016
Thursday, June 2, 2016
Hi Guenther

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.


  • Started: 6/2/2016
  • Last Reply: 6/2/2016
  • Replies: 1
  • Views: 368
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.