Forums

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

Create a filter that searches previous sprint automatically

Anthony R Elmore
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!
July 28, 2020

Hi,

I've created filters that show both the current sprint and the previous sprint. When the previous sprint closes, I have to go back and edit the fixVersion value with the previous sprint ID. While it's not time-consuming, I'd like it to automatically query the previous, not-current sprint without having to manually change it.

I've experimented with the openSprints function and haven't found anything resembling previousSprints or a workaround. So how do I only query the previous sprint?

Thanks in advance.

1 answer

0 votes
Ste Wright
Community Champion
August 1, 2020

Hi @Anthony R Elmore 

This isn't possible to do natively - you'd need to consider using an app which can extend JQL functions.

For example, ScriptRunner could achieve this in Jira Cloud - one of its functions is previousSprint - this would look like:

issueFunction in previousSprint("Board Name")

^ You can then search for issues in a previous sprint from a specific board.

Ste 

Suggest an answer

Log in or Sign up to answer