Query for assigned to me

Is it possible to create a query string that searches for 
1) all types of issues where the assignee is me AND they're NOT closed
2) specifically userstories assigned to me that may have CLOSED status (well they all have this status in our system)

The problem is that a number of closed tasks are assigned to me, and when I mask them out this prevents me to see the closed US's assigned.

2 answers

1 accepted

Tnx, Alexey
Can I combine them into 1 string?)
I have:
- open task (subtasks typically) assigned to me - I need to see them
- closed tasks assigned to me - I do not need them
- closed userstories assigned to me (because all US are closed after creation) - I need to see them because they "include" open tasks linked to these US's

Alexey Matveev Community Champion Nov 14, 2017

Yes, you can join

It would be like this

assignee= currentUser() and ((issuetype != "Story" and status  != Closed) OR (issuetype = "Story" ))

or rather:
OR (issuetype = "User Story" ))

Brackets rule. Thanks a lot!

0 vote
Alexey Matveev Community Champion Nov 14, 2017


I am not sure that I understood your second requirement

For the frist one it would be

assignee= currentUser() and status != Closed

For the second one

issuetype = "Story" and assignee = currentUser()

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,207 views 13 19
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot