The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do i create a JQL query where assignee is the same as reporter

Vincey Bhan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 1, 2019

I am trying to build a complex query for my project where i need to identify when the ticket was moved back to reporter for missing information. The status for the ticket would move from NEW --> Missing Information and assignee would be the person who filed the ticket. An example query (which did not work for me) is

 

"project = "Change Request" AND "To Be Fixed Version" in ("2019.1 [2019.1]", "2019.2 [2019.2]", "2020.1 [2020.1]") AND status changed from NEW to MI assignee was in reporter  

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Brant Schroeder
Community Champion
November 1, 2019

It's not possible without plugins. For example Script Runner has the expression function, which allows you to do:

issuefunction in expression("project = FOO", "assignee = reporter")

The first expression is a filter query which you could leave as en empty string to run "assignee = reporter" on every issue.

1 vote
Jack Brickey
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 Champions.
November 1, 2019

you would need an addon for that, e.g. Scriptrunner. I beleive it has an expression function that would allow something like "assignee = reporter"