Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL

Harsha Vardhan Doddi January 16, 2021

 In the below example, I am getting the logic why assignee is empty is used. Can anyone help with the logic behind it?

Find all issues where the Assignee is not Jack, Jill, or John:

  • assignee not in (Jack,Jill,John) or assignee is empty

1 answer

2 votes
Tansu Akdeniz
Community Champion
January 16, 2021

Hi @Harsha Vardhan Doddi 

It returns all issues where assignee is not Jack, Jill, or John (doesn't include unassigned one's)

assignee not in (Jack,Jill,John)

It returns the first query + unassigned issues:

 assignee not in (Jack,Jill,John) or assignee is empty

Best 

Jack Brickey
Community Champion
January 16, 2021

Yes. On can make an argument that if the issue is unassigned then neither Jack, Jill nor John are assign to the issue. 

Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 21, 2021

Exactly. It's a little bit counterintuitive, but assignee != username does not include issues where that the assignee field were empty.

The same is true for any other fields.

Regards

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira product discovery, product operations, product ops, linkedin live, atlassian events, cross-functional collaboration, product management, engineering collaboration, design collaboration, atlassian learning, agile teams, product strategy

Product Ops Unpacked: 4️⃣ tips every product pro needs to know ✍️

Join PM Evangelist, Axel Sooriah, & Product Ops. Consultant & Advisor, Jenny Wanger, as they unpack the role of product ops and discuss key takeaways in Atlassian’s ‘The Product Ops Mission’ guide. They’ll answer your questions live on May 6 at 9:00am PT.

Register here ⬇️
AUG Leaders

Atlassian Community Events