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
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.
I created this rule
and its enabled, but it shows this error, please refer to the screenshot attached below
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is WEB-570 a sub-task?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.