If there are 2 tasks A and B and both tasks are sub tasks. Task B is dependent on Task A. If I shift the timelines of Task A, can the timelines of task B be shifted automatically?
I tried to make an automation, but it is not working.
Trigger Due date.
If: Issue type equals sub task
And: link issues present Type blocks
Then: edit issue fields Due Date
Hello @Chris
Can you show us the actual rule?
Based on what you have provided, the rule is triggered when the Due Date is changed on Task A. You will need a step in the rule to change the focus to the blocked Task (Task B) in order to edit that task.
As you have shown it, the Edit operation would be editing the same issue that triggered the rule.
My IT blocks uploads so I can not show the picture.
How do I make the step to shift subtask B? I am using Jira data center, so I do not have some of the functions in cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is an example from Data Center v9.10.x
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you. Just a few questions
What would I put in the action? For example, would I put {{now.plusBusinessDays(5)}}?
Also, what is on the bottom of the branch? it looks like the picture is cut off.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would need to shift the start and end date of task B. So that the end of task A is the start of task B. I think the example you shared would only shift the due date of task B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are no additional steps beyond what is in the image - nothing at the bottom of the branch.
To shift the start of the blocked task (Task B) to be the new Due Date of the blocking task (Task A) you would set the Edit action to update the Start Date field by copying the Due Date field from the trigger issue. This is the same, basically, as what I showed in the image, but you need to pick the Start Date field.
After selecting the field, click on the ... button and choose Copy from
That will change the input field to look like this.
Click somewhere in that text and that will open a pop-up like this.
In this pop-up you can change the Issue to copy value from field to Trigger Issue, and change the Field to copy value from to Due Date. Then click the Close button in the bottom right corner of the pop-up.
You would click on the Choose field to set button again to then select the end date field that you want to update in the same action. The exact value you will need to use to set the field depends on how you want to shift the end date of Task B. Do you want it to maintain its original duration based on its original start and end dates?
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.