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

Hello, 

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

640 views 6 12
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