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 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 8 hours ago in Trello

Alice Camilla on organizing your work/life/fandoms with Trello!

@Alice Camilla is a university student, currently writing her MA thesis in Archaeology. She's also a freelance blogger and content creator, writing about geeky stuff from productivity apps to JR...

34 views 1 6
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