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

0 votes
Accepted answer

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

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


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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,234 views 5 10
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