Query for assigned to me

Sergei Poliakov
Contributor
November 14, 2017

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

7 votes
Answer accepted
Sergei Poliakov
Contributor
November 14, 2017

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2017

Yes, you can join

It would be like this

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

Like Tristan Gibson likes this
Sergei Poliakov
Contributor
November 14, 2017

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

Brackets rule. Thanks a lot!

Like mary P123 likes this
Cakov Bari
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 5, 2020

K

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 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
TAGS
AUG Leaders

Atlassian Community Events