Advanced SQL Query based on status?

Hi Guys,

Our workflows automatically unassigned when the tickets have been reviewed and closed by supervisors. It would be nice if I could still create a filter to search for which users got the most tickets into the "Complete" status however, before the ticket was given to a supervisor for review and close. Is there an advanced query I can run for this? Thank you! 

3 answers

Take a look at the JIRA Advance Searching Function "WAS" (https://confluence.atlassian.com/jira/advanced-searching-179442050.html#AdvancedSearching-WAS). The requirements may not be clear to me, but try:

Assignee WAS robertanthony and STATUS = CLOSED

Play around with it, maybe you can generate your own. I just want to give you an idea it's possible to search based on a status "before".

You have a very weird workflow (unassigning tickets after it was closed). 

Hi, I'm afraid this is not easy to achieve. JQL can query against historical data but the data displayed is your "current" data. 

The query from Gavriella will show you all the issues that had been assigned to  "robertanthony" once during the issue lifecycle but I guess that's not what you want.

You could use sth. like: 

status changed TO Complete BY robertanthony

and you'll receive a list of all the issue you have completed. The only thing that pops up in my head is, that you might be able to script your on JQL function with ScriptRunner: https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions

Or you might have a look at reporting tools like EazyBI...

https://eazybi.com

Cheers,

Christian

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,081 views 13 18
Join discussion

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