JQL Search for tickets that had time logged to them but are not in active sprint?

I am trying to figure out how to do a search to see if any time was logged to tickets that we were not added to the current sprint, as a way to audit if we are missing any tickets from the sprint and also audit if people are working tickets that were not approved to be worked on. Thank you!

1 answer

1 accepted

1 vote
Steven Behnke Community Champion Dec 13, 2016

This should do the trick – 

( sprint is EMPTY OR sprint NOT IN openSprints() ) AND timespent > 0

https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-functions-reference-764478342.html

Thanks so much Steven! The search above shows results of all tickets that have time logged, so there could be valid reasons tickets not in the sprint have previous time logged (we started working them in a prior sprint and they got de-prioritized etc.) so I need a way to search for time logged within the last two weeks on tickets not in the sprint. Is there a way to manipulate the time spent search to just be the last two weeks?

Steven Behnke Community Champion Dec 13, 2016

Perhaps this would be more useful then – 

( sprint is EMPTY OR sprint NOT IN openSprints() ) AND worklogDate > startOfWeek(-2)
Steven Behnke Community Champion Dec 13, 2016

No sweat. smile

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published Friday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

67 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot