Jira 获取包含开始和结束日期的sprint列表
我正在寻找一个RESTAPI来获取所有的Sprint及其各自的开始和结束日期。我可以使用API获得Sprint列表Jira 获取包含开始和结束日期的sprint列表,jira,jira-agile,jira-rest-java-api,Jira,Jira Agile,Jira Rest Java Api,我正在寻找一个RESTAPI来获取所有的Sprint及其各自的开始和结束日期。我可以使用API获得Sprint列表 rest/greenhopper/1.0/sprintquery/boardId?includeFutureSprints=true&includeHistoricSprints=false 以及使用 rest/agile/1.0/sprint/sprintId 然而,它需要我为每个sprint调用第二个API。是否有API提供Sprint列表及其信息,如开始和结束日期
rest/greenhopper/1.0/sprintquery/boardId?includeFutureSprints=true&includeHistoricSprints=false
以及使用
rest/agile/1.0/sprint/sprintId
然而,它需要我为每个sprint调用第二个API。是否有API提供Sprint列表及其信息,如开始和结束日期。如果您使用JIRA软件在JIRA 7上,您可以使用: 这将返回包括startDate和endDate的结果,例如:
在
bash
中,您可以使用以下脚本获取它:
{
"maxResults": 2,
"startAt": 1,
"total": 5,
"isLast": false,
"values": [{
"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
},
{
"id": 72,
"self": "http://www.example.com/jira/rest/agile/1.0/sprint/73",
"state": "future",
"name": "sprint 2"
}]
}