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

Accepted Answer
0 votes

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 votes
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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,423 views 2 7
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