Using the API, I need to add test cases to a test plan in a release
So, I'm working purely within the API, and I need to create a release, import test cases to the release, create test plans (by cycle/phase) and then add executions
Right now I'm stuck in adding test cases to a cycle/phase.
I'm tring to use AssignmentTree/Create freeForm testcase/Create freeForm testcase from the API But I only get 404s or 500 errors.
Using /flex/services/rest/latest/assignmenttree/:cyclePhaseId/assign/bytree/ with a ciclePhaseId equal to the id of the phase in the test plan (so the folder where I want the test cases to be put) , and a body of
[
{
"treeid": 544127, -> this is the id of the release test folder where the test cases are
"tctIds": [10376435], -> this is a testcaseid from that folder
"isExclusion": false
}
]
! get a 404 error. I've being tryiing various different id's etc since yesterday. I need a little help :-)