Forums

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

Is there a way to build a filter for previous sprint?

Teresita Jung
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!
February 19, 2019

Is there a way to build a filter for previous sprint?

I see currentSprints(), closedSprints() and futureSprints().  closedSprints() returns too much and I am unable to apply simple math like [currentSprints()-1].

I see that Sprint is numeric, but again no simple math functions. 

Does anyone have a way to get to the previous sprint in a filter?  Possibly using Sprint or SprintEnd.  I am using one project and have build my sprints in order:  PROJA - Y19S03.

 

1 answer

1 accepted

4 votes
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 19, 2019

Hello Teri,

Welcome to Atlassian Community!

Unfortunately, JIRA does not have this JQL functionality yet, however, there are some plugins which can help you achieve this functionality.

Also, we have already requested it with our development team:

In a Filter, I should be able to query for issues closed in the most recently closed sprint

Feel free to vote and watch the suggestion to increase its priority and also receive notifications about any updates.

As mentioned in the answer below, you can use the function previousSprint from Scriptrunner plugin to achieve this functionality:

JQL for last closed Sprint

Let me know if this is an option for you.

Teresita Jung
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!
February 20, 2019

Thank you Petterson.  I added my vote.

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 20, 2019

You are welcome, Teri.

Have a nice day!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events