Possible to figure out the Current Iteration via REST API?
Hello,
I'm writing a little script with curl that would create a new defect via the REST API for bad problems that our automated tests find. I got the basic things working, but with a lot of hardcoding (of resource IDs).
In order to minimize the ongoing maintenance of this little script, though, I'd like to be able to figure out the resource ID of the "current iteration" so I can use it for the "plannedFor" in my payload.
Would that be possible?
thanks,
- Hiro
One answer
Hi Hiroyhki,
I am not sure about OSLC, but I know a bunch of people have used https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation and the Plain Java Client Libraries for this kind of tasks. You should be able to get at all the data, but is is not a trivial task either.
To have something to do it out of the box is a popular request in the Plan Jam: https://jazz.net/blog/index.php/2012/07/11/jazz-plan-jam-results-are-in/
I am not sure about OSLC, but I know a bunch of people have used https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation and the Plain Java Client Libraries for this kind of tasks. You should be able to get at all the data, but is is not a trivial task either.
To have something to do it out of the box is a popular request in the Plan Jam: https://jazz.net/blog/index.php/2012/07/11/jazz-plan-jam-results-are-in/
Comments
Adam Cheney
Feb 18 '15, 11:57 a.m.Hiroyuki Miyamoto
Feb 18 '15, 2:29 p.m.