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

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

80 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