Forums

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

how to find parent issue with JQL?

ClaireYang
Contributor
April 8, 2019

Hi,

If I get a subtask issue key, how can I find the corresponding parent issue id with advance JQL in Issue Navigator?

Thank you!

Claire

1 answer

1 accepted

0 votes
Answer accepted
Prakhar Srivastav {Appfire}
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.
April 8, 2019

@ClaireYang 

If you have scriptrunner then you can use subtask functions.

Take a look at below url :

https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_subtasksof

 

Regards

Prakhar

ClaireYang
Contributor
April 9, 2019

Hi Prakhar,

Thank you for your advice. I need to get the issue id of the parent issue, so I use issuefunction 'parentsOf()'.

Below is my JQL:

issueFunction in parentsOf ("project = RDPMS and issuekey = RDPMS-8")

Like • Prakhar Srivastav {Appfire} likes this
shetty
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.
April 9, 2019

I'm getting error for above JQL Query

 

Error detail:

Field 'issueFunction' does not exist or you do not have permission to view it.

Like • benjamin likes this
ClaireYang
Contributor
April 9, 2019

@shetty  You need to install Script Runner add-on, then you can use 'issueFunction' JQL search.

Like • Ana Paula S_ Figueiredo likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events