Get project requirements via SOAP

Wednesday, September 30, 2015
Avatar

I want to get the requirements for a project using the SOAP interface and hoped that I could do something like this in C#,

var requirements = _client.Requirement_Retrieve(new RemoteFilter[] { new RemoteFilter { PropertyName = "ProjectId", IntValue = 23 } }, 0, 9999);

But according to https://www.inflectra.com/Support/KnowledgeBase/KB88.aspx there is no project id or name to filter on.

Is there another way of doing this without getting all the requirements and filtering them manually.


           









1 Replies
Friday, October 2, 2015
Avatar
re: gjw Wednesday, September 30, 2015
Hi Gavin,

To filter by project you first use the Connection_ConnectToProject(projectId); and then your requirements list will be filtered by that project. You can filter by name using the PropertyName = "Name"

Regards
Adam


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

 

Statistics
  • Started: Wednesday, September 30, 2015
  • Last Reply: Friday, October 2, 2015
  • Replies: 1
  • Views: 6751