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 |
---|
[JSWSERVER-9928] Sprint field value in issue REST API could be improved
Workflow | Original: JAC Suggestion Workflow [ 3069614 ] | New: JAC Suggestion Workflow 3 [ 3662616 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Confluence Workflow - Public Facing v4 [ 2625459 ] | New: JAC Suggestion Workflow [ 3069614 ] |
Workflow | Original: JIRA PM Feature Request Workflow v2 - TEMP [ 2317806 ] | New: Confluence Workflow - Public Facing v4 [ 2625459 ] |
Status | Original: Closed [ 6 ] | New: Resolved [ 5 ] |
Workflow | Original: JIRA PM Feature Request Workflow v2 [ 2038712 ] | New: JIRA PM Feature Request Workflow v2 - TEMP [ 2317806 ] |
Workflow | Original: JIRA PM Feature Request Workflow v2 - TEMP [ 2027144 ] | New: JIRA PM Feature Request Workflow v2 [ 2038712 ] |
Workflow | Original: JIRA PM Feature Request Workflow v2 [ 736134 ] | New: JIRA PM Feature Request Workflow v2 - TEMP [ 2027144 ] |
Fix Version/s | New: 6.7.7 [ 54998 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Workflow | Original: GreenHopper Kanban Workflow v2 [ 561030 ] | New: JIRA PM Feature Request Workflow v2 [ 736134 ] |
Issue Type | Original: Story [ 16 ] | New: Suggestion [ 10000 ] |
Priority | Original: Minor [ 4 ] |
Labels | Original: api rest_api | New: api rest_api triaged |