Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


I want to search for more parent issues in JIRA Automation

Please forgive me for not being good at English

In jira automation, when searching for a parent issue, we use Key = {{issue.parent.key}} to search.
So, what smart values should you use when searching for a parent's parent issue?

Also, when searching for child issues, we search with "Parent Link" = {{issue.key}}, but what kind of smart value should we use when searching for child issues of child issues?

1 answer

1 accepted

1 vote
Answer accepted
Peter Tran - DevSamurai
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Sep 21, 2023

- search for a parent's parent issue in Jira automation, you can use the following smart value: {{issue.parent.parent.key}}
This smart value will return the key of the parent issue of the current issue's parent issue.

To search for child issues of child issues, you can use the following smart value: {{issue.subtasks.subtasks.key}}
This smart value will return a list of keys of the child issues of the current issue's child issues.
Here are some examples of how to use these smart values in Jira automation:
- Search for the parent's parent issue of the current issue and transition it to the "Done" status. transitionIssue({id: {{}}, transition: "Done"})
- Search for all child issues of child issues of the current issue and assign them to the user with the username "john.doe". assignIssues(issueKeys: {{issue.subtasks.subtasks.key}}, assigneeUsername: "john.doe")

Note: You can also use the Lookup issues component in Jira automation to search for parent's parent issues and child issues of child issues. However, the smart values shown above are more efficient and easier to use.

Thank you for your answer.
{{issue.parent.parent.key}} was available, but {{issue.subtasks.subtasks.key}} was not.

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events