Forums

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

HI Team!! I am trying to fetch the closed Sprint for some of the teams using Kanban board. Any help?

NASKAR, ABHINANDAN
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!
April 11, 2022

I'm using this URL:

"https:/<organisation name>.atlassian.net/rest/api/2/search?jql=project=<JIRA_KEY>&maxResults=10&startAt=0"

but the problem is the data it is fetching doesn't have an attribute named "closedSprints" which is very crucial for the code changes. but no such attributes are there in fetched data. 

1 answer

1 vote
Jorden Van Bogaert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2022

Hi @NASKAR, ABHINANDAN 

You can use it as follows:

https://<organisation>.atlassian.net/rest/api/2/search?jql=project%20%3D%20<projectKey>%20and%20sprint%20in%20closedSprints()

This has the URL encoded to have the following JQL:

 project = <key> and sprint in closedSprints()

Make sure to replace the <projectKey> with the key of your desired project.

Kind regards
Jorden

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events