Forums

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

Is there a way in JQL to indicate the LAST/Previous sprint closed?

Kathy Dahmen June 4, 2018

I know that closedSprints() gives ALL sprints that have been closed.

I would like to be able to identify the 'last' sprint closed ... logically, the equivalent of closedSprints() - 1

 

Use case:  I'd like to identify all issues closed in the prior sprint given that we are now in an OpenSprints()

2 answers

1 vote
Alexey Matveev
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.
June 4, 2018

Hello,

You can use the previousSprint jql function from the ScriptRunner plugin:

https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_previoussprint

Kathy Dahmen June 4, 2018

Thank you @Alexey Matveev ... that would work perfectly,  unfortunately we have 500+ user license for cloud, so for the 3 people who could benefit from this, the $600 price tag  per month is too steep.  :(

Perhaps any alternative that does not require the ScriptRunner add on?

 

Thank you!

- Kathy

0 votes
Moses Thomas
Community Champion
June 4, 2018

@Kathy Dahmentry this

  • Make sure you  have the script runner plugin for JIra
  • issueFunction in previousSprint("<name of board>")

 

Best!

Kathy Dahmen June 4, 2018

Thank you @Moses Thomas ... that would work perfectly,  unfortunately we have 500+ user license for cloud, so for the 3 people who could benefit from this, the $600 price tag  per month is too steep.  :(

Perhaps any alternative that does not require the ScriptRunner add on?

 

Thank you!

- Kathy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events