Forums

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

Get all sprints for a project with JIRA API 7.6.1

Vivian Escalante
Contributor
February 21, 2018

Hello all, 

I'm trying to return all sprints (active/future) for a given project.

 

For reference: The overall objective is to get the end dates of the sprints and send an email with the open issues x days before the end date of the next end date. 

1 answer

0 votes
Kurt Klinner
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.
February 21, 2018
Vivian Escalante
Contributor
February 21, 2018

I don't want to return the issues opened in a sprint. I need all sprints in a project. Like the sprint name or ID. 

Kurt Klinner
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.
February 22, 2018

The documentation says

Search for issues that are assigned to a Sprint that has not yet been completed.

did you try

project = XXX and sprint in openSprints()
Kurt Klinner
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.
February 22, 2018

@Vivian Escalante

 

sprint IS EMPTY OR sprint NOT IN openSprints()

might also be worth a try 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events