Set Testcase Plan Item using API
Hello,
We have successfully used the API to allow us to create Testplans and testcases. Due to this import it means we get alot of testcases that need to be updated by hand to add the plan item. Is it possible to set this as part of the testcase XML. I had a good look through the schemas but could not find anything? Thanks Adam |
2 answers
Hi Adam,
When you refer to "plan item" as part of the TestCase XML I assume you are referring to the "Test Plan" reference, correct? If that is the case, then you actually need to do it the other way around. Test Plans contain references to Test Cases rather than Test Cases referring to Plans. You need to first create your Test Cases, then when you go to create your Test Plans you include references to your created Test Cases in the Test Plan. Regards, John Hello, |
Hi John,
Thanks for the quick reply, I'm actually refering to the section in a test case called "Plan Item". We currently use the references on the Test Plan to "add" the testcases to the Testplan and that works great for us. We have a cross server communication between RQM and RTC and when we create our testcases we associate them with a Plan Item that is held within RTC. So I need to try to perform this association using the REST API. Hope that makes sense Thanks Adam Hi Adam, Hello, |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.