Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

A JQL query isn't working as expected.

Edited

I need to filter all issues resolved last month for which the current user is either an Assignee, a Contributor, or a Writer. I wrote the query below:

(assignee = currentUser() OR "Contributors[User Picker (multiple users)]" in (currentUser()) OR "Writer[People]" in (currentUser())) AND resolutiondate >= startOfMonth(-1) AND resolutiondate < startOfMonth() ORDER BY issuetype ASC

 

The trouble is that the list only shows issues assigned to me.

 

I tested this as follows: 

  1. I went to an issue that was both assigned to me and had me as one of the Contributors.
  2. I removed the assignee.
  3. I went back to the filter page and refreshed it.
  4. The issue was gone from the list.

 

2021-04-05_13-48-10.png

1 answer

sometimes I have some buggy jql searches with OR

can you try the following:

assignee AND resolution OR contibutor AND resoultion OR writer AND resoultion

Hey @Alexander Pappert, I tried this and the results are the same. ¯\_(ツ)_/¯ 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you