How to get start and end dates of a sprint using jira api? -
below url giving information except start , end dates of sprint .
assuming you're recent version of jira , jira software, can use jira agile rest api's.
interesting rest api resources are:
get issue: /rest/agile/1.0/issue/{issueidorkey}
output of resource include agile fields , sprint name , id, e.g.:
... "sprint": { "id": 37, "self": "http://www.example.com/jira/rest/agile/1.0/sprint/13", "state": "future", "name": "sprint 2" }, ...
get sprint: /rest/agile/1.0/sprint/{sprintid} output of resource include sprint start , end dates, e.g.:
{ "id": 37, "self": "http://www.example.com/jira/rest/agile/1.0/sprint/23", "state": "closed", "name": "sprint 1", "startdate": "2015-04-11t15:22:00.000+10:00", "enddate": "2015-04-20t01:22:00.000+10:00", "completedate": "2015-04-20t11:04:00.000+10:00", "originboardid": 5 }
the docs may contain other useful resources you.
Comments
Post a Comment