Hello,
I'm trying to create an automation where a set of sub-tasks are generated and given due dates based on the due date of the parent task. Is this possible?
Hi Ben,
Yes, this is possible. Can you post the rule that you have so far showing the details of the Due date field in the sub-tasks?
Basically, you want to put in the code for the Due Date for the sub-task to be {{issue.parent.duedate}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{{issue.parent.duedate.plusBusinessDays(5)}}
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.
Yep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Add a Branch prior to Creating the Sub-task for Most recently created issue.
Then move the Sub-task under the branch.
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.
DOH! Sorry, the branch should be Current Issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @John Funk . Rule is succeeding but I'm still not getting a due date in the sub-task!
Confirming this is the correct smart value? {{issue.parent.duedate.plusBusinessDays(5)}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, you can actually try {{triggerIssue.duedate.plusBusinessDays(5)}}
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.
Great! Glad we finally got there 😊
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @John Funk I just gave it a try and despite it saying that the automation ran successfully, there is no due date on the sub-task.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share the entire rule?
And what is the value in the Parent?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.