Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL to show all parent issues where at least one subtask is assigned to the current user

Vanessa Thivierge
Contributor
August 21, 2017

Hello,

I am trying to create a filter that will display all parent issues and all its subtasks when at least one of the subtasks is assigned to the current user.

I don't mind using a plug-in to do this, I know ScriptRunner, Search Linked issues, and JQL Tricks can help me with this, but I haven't been able to get the syntax right.

Thank you!

1 answer

1 accepted

0 votes
Answer accepted
Tarun Sapra
Community Champion
August 21, 2017

This works for me in script runner plugin 

issueFunction in subtasksOf("issueFunction in parentsOf('assignee = currentUser() ')" ) or issueFunction in parentsOf("assignee = currentUser() ") 

 

Vanessa Thivierge
Contributor
August 21, 2017

It works! Thanks!

Dorte Kirk
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!
January 28, 2019

Sorry to interrupt here, but can it be done without script runner? Using only plain JQL?

Best regard

Like # people like this
Alexander Pappert
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.
May 6, 2020

Ist this possible with JQL without using an addon?

Like Andy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events