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

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,234 views 5 10
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