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

Stephanie Higgins December 13, 2016

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
Answer accepted
Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 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

Stephanie Higgins December 13, 2016

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 F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 13, 2016

Perhaps this would be more useful then – 

( sprint is EMPTY OR sprint NOT IN openSprints() ) AND worklogDate > startOfWeek(-2)
Stephanie Higgins December 13, 2016

Thank you!!!

Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 13, 2016

No sweat. smile

Suggest an answer

Log in or Sign up to answer