Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira sprints endpoint, missing fields

Nairi Haroutiounian
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 31, 2019

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?

1 answer

1 vote
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 2, 2020

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

Suggest an answer

Log in or Sign up to answer