It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

1 vote
Jack Community Leader Nov 01, 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"

1 vote
Brant Schroeder Community Leader Nov 01, 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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

883 views 7 24
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you