Jira API stoped return some fields for sprints data.
We are trying to get sprints by board_id:
https://server.atlassian.net/rest/agile/1.0/board/5/sprint
Previously response included also those fields
startDate, endDate, completeDate
But after a day, they are stoped be in the response of that API request.
Is there any change regarding this endpoint?
Or is there another way to request sprint details?
Hello @Nairi Haroutiounian ,
I am not aware of any changes that would cause the behavior you are seeing, and testing the endpoint out on my test instance, I just started and stoped a sprint gan a "GET /rest/agile/1.0/sprint/{sprintId}" and I am seeing the values you noted are missing in your tests:
"startDate":"2020-01-02T18:10:54.361Z",
"endDate":"2020-01-07T18:10:00.000Z",
"completeDate":"2020-01-02T18:17:37.977Z"
Do you have permissions to view the board in the application front end with the user account you are running the API call from as covered in the documentaiton for "GET /rest/agile/1.0/sprint/{sprintId}" :
Returns the sprint for a given sprint ID. The sprint will only be returned if the user can view the board that the sprint was created on, or view at least one of the issues in the sprint.
Regards,
Earl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.