Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JQL question, Issues with a sprint filter

Edited

Ive got quite a big query which I'm using to determine tickets that need to be looked at in backlog refinement (either new or over 28 days since we last looked at them). What I'm trying to find is:

  • Tickets that have no priority and are not in the current or a future sprint
  • Tickets that have no previous review date and are not in the current or a future sprint
  • Tickets that have a previous review date over 28 days ago and are not in the current or a future sprint

So individually I have these queries:

Tickets that have no priority and are not in the current or a future sprint

project = AEA AND issuetype = Story AND status not in (Done, Closed) AND priority = "Not Set" AND sprint NOT IN (openSprints(), futureSprints())

 

Tickets that have no previous review date and are not in the current or a future sprint

project = AEA AND issuetype = Story AND status not in (Done, Closed) AND "Priority Last Reviewed Date" = EMPTY AND sprint NOT IN (openSprints(), futureSprints())

 

Tickets that have a previous review date over 28 days ago and are not in the current or a future sprint

project = AEA AND issuetype = Story AND status not in (Done, Closed) AND "Priority Last Reviewed Date" >= -28d AND sprint NOT IN (openSprints(), futureSprints())

 

Im pretty sure its a problem with how im using "(openSprints(), futureSprints())" because when I drop this off it brings back the entire contents of my board, when I add this it drops loads of items including ones that are in the backlog. Any thoughts would be really appreciated!

1 answer

1 accepted

3 votes
Answer accepted

Ive solved my own problem "(openSprints(), futureSprints())" only pulls back issues that have a sprint, so if the sprint field is empty it doesnt find them so "(Sprint = EMPTY OR Sprint not in (openSprints(), futureSprints()))" worked!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

124 views 1 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you