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
atlassian, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events