Missed Team ’24? Catch up on announcements here.

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

How to copy the name from parent task to child task through automation?

Alkanz Ali June 12, 2023

How to copy the name from parent task to child task through automation?
Like whenever a child task is created the parent.name gets automatically populated in its subject line

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 12, 2023

Hi @Alkanz Ali  - Welcome to the Atlassian Community!

Do you have a rule that you have created so far? It would be best to share that first and we can go from there. Otherwise, you will need to provide more details like the exact steps you want to accomplish. 

Alkanz Ali June 12, 2023

I created this rule Screenshot 2023-06-12 at 10.54.01 PM.png

and its enabled, but it shows this error, please refer to the screenshot attached below
Screenshot 2023-06-12 at 10.47.50 PM.png

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 12, 2023

Is issue WEB-570 a sub-task? What happens is that the rule will fire every time an issue is created on that project (or all projects if it is a Global rule). So this is just information, not an error. 

Alkanz Ali June 14, 2023

yes its a global rule but it wasnt executed, the name was not copied on child task. thats what my concern is

or should i create this rule in each project individually?

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 16, 2023

Is WEB-570 a sub-task? 

Alkanz Ali June 19, 2023

yes

Alkanz Ali June 19, 2023

so my automation has started working on company managed projects, but it over ruling the existing sub task name, it should be parent name + subtask name. 
How can I fix this?

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 19, 2023

Well, if I am reading all of that right in what you have presented, the only Condition you are using checks if the Issue is a Sub-task. You said it is, but the Audit Log says it isn't - so there's a disconnect there somewhere. 

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 19, 2023

So the Sub-task will get created as it is filled out. 

So for Edit Issue Summary field, put in the code:

{{issue.parent.summary}} - {{issue.summary}}

TAGS
AUG Leaders

Atlassian Community Events