Forums

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

How can I link the issue with subtask of another issue automatically.

Umar testing January 23, 2023

Hello everyone 

Actually I am try to find a way to link the issues automatically but it gives just two options either trigger issue or recently cretead

but my case is different in my case 

once the transition of issue 1 goes to done the new issue name issue 2 is created automatically  now my requriment when someone created subtask under issue 2 I want to link that subtask to issue 1 automatically.

Please help me with this 

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Champion
January 23, 2023

Hello @Umar testing 

When asking for help with an automation rule it is important that you show us the rule you have constructed so far. Without that we are missing vital context and details needed to offer you advice on how to change the rule.

Please show the rule you have constructed so far.

Umar testing January 23, 2023

@Trudy Claspill thankls for your response 

see thats how I am trying to construct the the rule.I am not sure this logic will fullfill the requirements or noautomatically link.png

Umar testing January 24, 2023

@Trudy Claspill I will explain you in details 

I have two issue types in my project 

and 1 subtask

Issue type 1= Backend tasks

Issues type 2 = Front end tasks

 now when backend status turns to done 

the 1st automation runs and it automatically create front end task and linked with backend task

now we have backend task which create frontend task and they are linked 

Now whenever the subtask is created under frontend task that subtask must automatically link with the backend task from where the frontend task was created automatically. link type can be relate

Trudy Claspill
Community Champion
January 24, 2023

You have said that when the Backend Task transitions then an Automation Rule runs to create the Front End Task and link the Front End Task to the Backend Task.

What is the link type between those two tasks?

Does the Front End Task get linked to any other issues using that same link type?

Umar testing January 24, 2023

@Trudy Claspill link type is relate

And front end only  link to the backend task From where it comes automatically when we transition backend done.Now I want when the subtask create under frontend that subtask will link automatically to the backend task from where the frontend comes

Trudy Claspill
Community Champion
January 24, 2023

This will work.

Screen Shot 2023-01-24 at 9.51.49 AM.png

At 1, you need to specify the task type you use for Subtasks.

At 2, you need to enter the text that matches the issue type name you use for Front End Task.

At 3, the rule is looking for any issues linked to the subtask's parent.

At 4, the rule is confirming that there is only 1 issue linked to the subtask's parent.

At 5, the rule is linking the subtask to the issue its parent is linked to.

 

Umar testing January 24, 2023

@Trudy Claspill Its work perfectly 

Thankyou so much

Suggest an answer

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

Atlassian Community Events