When trying to get the details of an issue through the REST API the response for the Sprint looks something like this:
customfield_10007:[ "com.atlassian.greenhopper.service.sprint.Sprint@a29f07[rapidViewId=<null>,state=CLOSED,name=NORD - Sprint 42,startDate=2013-07-29T06:47:00.000+02:00,endDate=2013-08-11T20:47:00.000+02:00,completeDate=2013-08-14T15:31:33.157+02:00,id=107]", "com.atlassian.greenhopper.service.sprint.Sprint@769133[rapidViewId=<null>,state=ACTIVE,name=NORD - Sprint 43,startDate=2013-08-14T15:32:47.322+02:00,endDate=2013-08-23T15:32:47.322+02:00,completeDate=<null>,id=117]" ],
It looks like toString of the Sprint class which isn't very easy to parse/read with an application. Is their a way to simple get the Sprint Name or id returned through the REST API. It's necessary to be able to retrieve the Sprint value in an internal tool for our QA Team (Spira Test).
On the other side, using toString in the REST API output doesn't seem like a good idea to me ...
Form Name |
---|
I wanted to create a new issue, but get an error that I don't have assign permissions...?
Also I don't know who to inform of this...
Anyway, for people seeing the same issue:
The described Agile REST API doesn't solve the problem, there is no sprint information in the fields, and the "versionedRepresentations" workaround is a real hack.