Search for parent issues of issues

Thi Thuy Duong Dinh June 24, 2020

I want to make some changes to parent issues of issues with fix version/s = a specific value. But I'm not sure how to write JQL here to search for parent issues.

We have Scriptrunner with JQL Functions.

Please help!

Thank you

2 answers

1 accepted

1 vote
Answer accepted
Mathis Hellensberg
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.
June 24, 2020

Hi @Thi Thuy Duong Dinh 

I think this should do what you want :)

issueFunction in parentsOf ("project = <projectkey> AND fixVersion = <fixversion>")
1 vote
Jack Nolddor [Sweet Bananas]
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
June 24, 2020

Hi,

Sadly you cannot achieve the desired search using standard features on Jira, you must go for a third-party app instead. Using i.e. JQL Booster Pack you can type the following:

 

1) Search for parents of issues having fixVersion v1.2.3 on 'MyProject':

issue IN parentsOf( 'project = MyProject AND fixVersion = v1.2.3' ) 

(*) Note that this is just an example, you must tune above query to fit your needs, i.e. use issueFunction instead of issue field when using Script Runner for Jira.

 

Using this app you can also query other issues relations, check:

 

References:

Kind Regards

Suggest an answer

Log in or Sign up to answer