Using closedSprints() method in JQL

Hi

If I want to use the method "closedSprint()" but I want to see the last 3 closedSprints can I use closedSprints(-3) ?

1 answer

This is what I'm writing today:

sprint in (67, 69, 70, 73, 75, 77, 79) and status != closed and resolution = Completed and "Dev resource" = currentUser()

And this is what I want to write:

sprint in closedSprints(-5) and sprint in openSprints() and status != closed and resolution = Completed and "Dev resource" = currentUser()

While in the first JQL line I'm getting a list of issues, the second JQL return nothing

If I remove the "and sprint in openSprints()" I'm getting a list but not a correct one as the first JQL line

Hope that I was clear about what I'm looking for

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Agile

Marketplace Technical Collection Pages

You might have noticed something new on Marketplace in the last several months which was the addition of our new collection pages. We heard feedback that it can be hard to browse apps in Marketplace ...

52 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you