Thread

Skip Navigation LinksForums > SpiraTest Forums > SpiraTest Issues & Questi... > Get project requirements ...

Get project requirements via SOAP RSS Feed

Wednesday, September 30, 2015

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
Adam SAdam S
re: Gavin Whitelaw on Wednesday, September 30, 2015
Friday, October 2, 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


Statistics
  • Started: 9/30/2015
  • Last Reply: 10/2/2015
  • Replies: 1
  • Views: 504
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.