Help with JQL assignee != reporter

Hi there,

I would like to know if it's possible to add in my query a part where it doesn't show the issues where the assignee is equal to the reporter. So, something like this:

assignee was currentUser() AND (status != Closed AND status != Resolved OR (status = Resolved and assignee != reporter)

So, where issues are Resolved AND the Assignee is the same person as the Reporter, I don't want to see those. Most of the time that person isn't current user. Ofcourse I have to see the issues where currenUser IS Assignee and another is Reporter

Ofcourse as declared by JIRA, "The value 'reporter' does not exist for the field 'assignee'." So I don't know how to realise this.

Love to hear from you!

2 answers

1 accepted

5 votes

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.

Hi Jamie!

Tnx! I have Script Runner and tried your code immediately in the Search and it worked fine.

Superb!!

 

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 ...

2,788 views 11 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