How to automatically transition parent linked issue when all child linked issues in the same status using Automation

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

How to use Automation to transition the parent linked issue when all child linked issues are transitioned to the same status. This can come in handy for JIRA Service Management project as it didn't support "Sub-task" issue type for customers account visibility in the customer portal. On top of that, when you want to transition an issue once all the linked issues are moved to Done/Resolved/Completed status.

Solution

Create a new Automation rule

In the example below, the expected result is we transition the parent linked issue to In Progress, once all child linked issues are transitioned to Done. You can replace these statuses with any status available to you. In this example, the "Task created" is the Outward Issue linked description , and the "Task created from" is the Inward issue linked description. Can refer to this page for more information about issue linked.

Set the trigger

(Auto-migrated image: description temporarily unavailable)

Add an IF condition to check if there are issues linked.

Under the link types, please select the one specific to your use case.

(Auto-migrated image: description temporarily unavailable)

Use Lookup action to find all linked issues.

Use the following JQL, please replace the Task Created from with the Link types you selected in the previous step.

1 issue in linkedIssues({{triggerissue.key}},"Task created from")

(Auto-migrated image: description temporarily unavailable)

Use an IF condition to check if the other linked issues are marked DONE

Use the following JQL:

1 issue in linkedIssues({{lookupIssues}})

(Auto-migrated image: description temporarily unavailable)

Use the Branch Rule to find the main issue.

(Auto-migrated image: description temporarily unavailable)

Use the Transition issue action to transition the main issue to IN PROGRESS, if all the conditions are met.

(Auto-migrated image: description temporarily unavailable)

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.