How can I write a query to return issues I am connected to?

George Carvill
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 28, 2012

To clarify, I want to write a query that will return...

1. All Issues and subtasks assigned to me

2. And any parent Issues where I am assigned a subtask

3. And all subtasks of parent Issues returned in #2

1 answer

1 accepted

0 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
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 28, 2012

Using JQL Tricks plugin (paid), you can achieve this in 2 steps.

1. Save a filter to find all parent issues where you can assigned a subtask

issue in parent("issuetype = subtask and assignee = currentUser()")

2. Write another query to use the filter saved above. Something like:

assignee = currentUser or filter = "Filter I saved earlier" or issue in subtask("filter = \"Filter I saved earlier\"")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events