How to move requirement using soap api functions

Monday, April 14, 2014
Avatar
Hi

I am trying to move requirements using functions from spiratest soap api. Using the Requirement_Move function I need to specify the destination id. 

Here is an example of requirements which I may have

Req1
Req2
Req3
Req4
  Req5
  Req6
  Req7
Req8

So 5, 6 and 7 are sub features of 4. So what I need to be able to do is to move for example Req7 to be under Req1 or move Req2 under Req4.

How can I do this?? It doesn't seem possible using the soap api.

if I select the destination id to be for example Req4, then the requirement is moved to the same level as req4 which is of no use.

Thanks for you time

Michael
2 Replies
Thursday, April 17, 2014
Avatar
inflectra.sarahx
re: michaell Monday, April 14, 2014
Hi Michael

You are right the API doesn't allow that directly, it needs to have an existing item already in the child branch. The plan in the future is to add Requirement_Indent and Requirement_Outdent API functions.

Regards

Sarah
Friday, May 9, 2014
Avatar
re: inflectra.sarahx Thursday, April 17, 2014
The requirement_move doesn't make any sense to me. If you supply a destination id then why doesn't it move the requirement under that item. That would be simple solution. And if you want the item on top level then you could just leave that parameter blank.
That function is not usable at the moment.



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: Monday, April 14, 2014
  • Last Reply: Friday, May 9, 2014
  • Replies: 2
  • Views: 2087