Forums

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

Copy the linked issues of an issue in its subtasks

Jose Antonio Quesada June 21, 2023

Hello,

I need to copy the linked issues of an issue in its subtasks.

I imagine to do it through an automation, but I don't know how.

Could someone help me?

Thanks in advance

Jose

 

2 answers

2 accepted

1 vote
Answer accepted
Marco Brundel
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.
June 21, 2023

Hi @Jose Antonio Quesada ,

You can use the trigger "issue linked" and a branch For: Sub-tasks and then choose Edit Issue within the branch.
See screenshot.

Probably add a condition for your use case I think.


regards, Marco


Screenshot 2023-06-21 at 16.46.19.png


Jose Antonio Quesada June 21, 2023

Thank you  very much @Marco Brundel but I am not succeeding.

I have this issue with Linked issues:

Captura de pantalla 2023-06-21 195618.png

The desired behaviour is as follows: I want the linked tasks of the parent task to be assigned to the subtasks when they are created.

Thanks in advanced

Marco Brundel
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.
June 22, 2023

Hi @Jose Antonio Quesada ,

I don't quite understand your question.
Can you clarify further?

Looking at your example, do you want to link issue STE23-62 to the sub-tasks of STE23-32 when it is linked to STE23-32?

regards, Marco

Jose Antonio Quesada June 26, 2023

Hi @Marco Brundel 

Apologies for my late reply.
Indeed, the desired behaviour is as follows:
1. I have a task A that I link to a task B.
2. In task A, I create subtasks A1, A2 and A3.
3. I want an automatism, which links B, to the subtasks A1, A2 and A3.

Is this possible?

 

BR

Jose

Marco Brundel
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.
June 26, 2023

Hi @Jose Antonio Quesada ,

Unfortunately, there isn't a specific 'create sub-task' trigger.

But if you combine 'create issue' as a trigger with condition issue type = sub-task and then choose 'edit issue' as the action, you can choose 'field' linked issues and copy them from the parent issue. Is this useful to you?

Regards, Marco

Screenshot 2023-06-26 at 11.36.36.png

0 votes
Answer accepted
Jose Antonio Quesada June 26, 2023

Hi @Marco Brundel 

It sound goods, but it doesn't work, I don't know why??

Captura de pantalla 2023-06-26 115207.png

Audit log describes it works, but the linked issue is not in the issue:

Captura de pantalla 2023-06-26 115335.png

But the parent task has a linked issue:

Captura de pantalla 2023-06-26 115417.png

What is wrong?

Thanks in advance?

BR

Jose

Marco Brundel
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.
June 26, 2023

Hi @Jose Antonio Quesada ,

Question: if you look in STE23-63, do you also not see STE23-85 as a linked issue?

 

Regards, Marco

Jose Antonio Quesada June 26, 2023

Hi @Marco Brundel 

No..

Captura de pantalla 2023-06-26 120440.png

BR

Jose

Marco Brundel
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.
June 26, 2023

Hi @Jose Antonio Quesada ,
Strange, I don't have an explanation right away. Would you like to add a screenshot of the rule here?
And for the sake of completeness, how is the Linked permission set up?

Jose Antonio Quesada June 27, 2023

Hi @Marco Brundel 

Here it is:

Captura de pantalla 2023-06-26 125835.pngCaptura de pantalla 2023-06-26 145915.png

BR

Jose

Marco Brundel
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.
June 27, 2023

Hi @Jose Antonio Quesada ,

I see you use 'copy linked issues from current issue'. If you change this to 'copy linked issues from parent issue' does it work?

regards, Marco

Like Jose Antonio Quesada likes this
Jose Antonio Quesada June 28, 2023

Yes!!! It works!!!!

Thank you very much @Marco Brundel 

Suggest an answer

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

Atlassian Community Events