Forums

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

Jira Automation: Linking Sub-Tasks Across Different Parent Tasks

Abdelhafid CHRIFI
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!
April 1, 2025 edited

 Hi ! i am setting up a new workflow like below

                                       Epic


                      Task 1                                                                              task 2


sub-task 1                sub - task 2                                   sub- task 3                       sub task 4


 

 

Epic (Parent)
├── Task 1 (Child of Epic)
│ ├── Sub-task 1 (Child of Task 1)
│ └── Sub-task 2 (Child of Task 1)
└── Task 2 (Child of Epic)
├── Sub-task 3 (Child of Task 2)
└── Sub-task 4 (Child of Task 2)

Automation Goal

I want to automate the creation of this structure, where:

  1. Creating an Epic automatically generates Task 1 and Task 2.

  2. Each Task then auto-generates its respective sub-tasks (as shown above).

  3. Automatically link Sub-task 1( child of task 1 ) with Sub task 3 (child of task 2)

Current Issue

I have successfully implemented the first two steps, but I'm struggling with how to automatically link Sub-task 1 (child of Task 1) with Sub-task 3 (child of Task 2).

1 answer

0 votes
Bill Sheboy
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 1, 2025

Hi @Abdelhafid CHRIFI -- Welcome to the Atlassian Community!

For a question like this, context is important for the community to help.  Please post the following:

  • what type of project is this: company-managed, team-managed, JPD, etc.
  • an image of your complete automation rule in a single image for continuity
  • images of any relevant actions / conditions / branches
  • an image of the audit log details showing the rule execution
  • explain what is not working as expected and why you believe that to be the case

Until we see those...

When creating a work item (previously called "issue"), you may branch to the most recently created one.  If you do that after a Task is created, you may then use the Create Sub-tasks or Create Work Item action to add the Sub-tasks linked to that new Task.  For example:

  • action: Create Work Item (for the Task)
  • branch: to most recently created work item
    • action: Create Sub-task
    • ...

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events