How to find all issues assigned to a role?

According to the documentation I should be able to find all issues associated to a user in role "Testers" with this JQL:

"Assignees (By Roles)" = assignedRole("Testers")

In fact, it returns all tickets the "currentUser" is assigned to the role "Testers", which is identically to the JQL

"Assignees (By Roles)" = assignedRole("Testers", "")


I may use

"Assignees (By Roles)" = assignedRole("Testers", "")

to find tickets associated to "anotherone", but currently it seems to be impossible to get a list of all tickets with Testers assigned.

In this question you acknowledged this behavior, but I'm affraid it breaks an important feature.


And, by the way, even more important, how do we find all tickets with unassigned roles, e.g. all tickets in a specific release with no Tester assigned?

"Assignees (By Roles)" !=  assignedRole("Testers")

will return every possible combination - no role assigned,  some roles assigned, all roles assigned, tickets from projects without estimation scheme...


Thanks in advance!



1 answer

Hi Michael,

To find all the tickets with no user assigned to a specific role, you can use:

"Assignees (By Roles)" =  assignedRole("Testers", "NULL")

 And to find the tickets where any user is assigned to the role, that is the role has no null user, you can use following:

"Assignees (By Roles)" !=  assignedRole("Testers", "NULL")

 Let me know if this is helpful.



Hi Abhinav,

many thanks for your reply.

Unfortunately, the queries do not work as expected :-/ 

The first one returns a lot of tickets with a user assigned, as well as a lot of tickets without an assignment.

The second query that should find tickets with any user assigned, returns no ticket at all.

Thanks a lot,


Hi Michael,

Have you recently re-indexed JIRA? Please take the latest update of the plugin and then reindex JIRA. Let us know how this goes, we can then go from there.



Hi Abhinav,


I've updated to 1.9.0 and re-indexed. Same results...


We're on Jira 7.5.1.


Thanks a lot!


Thanks for the information Michael. We will test this for any possible bug and try to come up with a fix asap.




Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

282 views 0 6
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