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 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 yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

53 views 0 5
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