Can anyone share an automation that copies the DATEDUE field from the issue to a particular subtask, when there are multiple subtasks within the story or bug?
Example: The story has a DATEDUE of 11/21/2025
the first subtask is Attach XML - I want the DATEDUE of this subtask to also be 11/21/2025
Hi @Glenn_Riley1
Welcome to the Atlassian Community!
You can do that via this automation.
Instead of copy value from the parent, you can use the smart value {{issue.parent.duedate}}, as also @arielei stated above.
Also, you can change the Trigger.
If it should be sub-task creation, you can remove the branch part and only leave the edit action.
Hope this help.
Hey @Glenn_Riley1
Keep in mind that the automation that @Gor Greyan is showing will work from the Parent side.
What i wrote will work from the Child side.
Important to understand this.
Ariel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am unfamiliar with how to add a smart value expression, can you share an example
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Glenn_Riley1
Sure, see the attached screenshot.
You should choose a set, not the copy, and put the smartvalue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gor,
Your automation is working, however , when I have multple subtasks the date due is being changed on all the subtasks - I would like to only add the Due date to the subtask titled ATTACH XML. How can I be that specific ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Glenn_Riley1
Inside the branch, before the edit action, add condition summary ~ "ATTACH XML", it will do only for that sub-task.
I will also provide screenshot tommorow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Glenn_Riley1
Simply create an automation with the following:
1. Trigger - issue created , condition: issuetype = Sub-Task
2. edit work-item with smart value {{issue.parent.DATEDUE}}
That should work.
Ariel.
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.