/
How to update parent issues's due date based on sub-task's due date

How to update parent issues's due date based on sub-task's due date

This article helps how to update the due date field of the parent issue, once the due date of the subtask is updated using the Update on Transition app.

Instructions

  1. Add a post-function to the intended transition, to create a sub-task. To add a post-function, navigate to Cogwheel > Issues > Workflows > select the workflow of the intended project and edit the same.
  2. Select Create Update Issues post function as shown below:
  3. Select the Detailed Fields and add %parent_key% for Issues to update and respective Issue type under Issue type section:

    The reason for adding %parent_key% is to update the parent issue of the subtask once the post-function executes.
  4. Select the dropdown as Parent issue's due date under Due date and set the intended Due date offset value. You can use work to exclude non-working days from the calculation. For example, 5 work, adjusts the date by 5 working days.
  5. Click Update to save the settings. Verify the condition:
  6. Publish the workflow draft.
  7. Perform In Progress transition. Once the transition happens, the Due date of the parent issue is updated with an offset of 5 working days as per the post-function configuration.



It is recommended to try the provided solution in a non-production environment and ensure everything is working as expected, before trying in a production environment.

Related content

Set the due date of an issue to the maximum due date of its sub-tasks.
Set the due date of an issue to the maximum due date of its sub-tasks.
More like this
Move parent issue to done when all sub-tasks are done
Move parent issue to done when all sub-tasks are done
More like this
Create sub-task for specific issue type - 7.x
Create sub-task for specific issue type - 7.x
More like this
Create subtask for specific issue types
Create subtask for specific issue types
More like this
How to set custom field values of parent issue in Summary field of a subtask using Create on Transition
How to set custom field values of parent issue in Summary field of a subtask using Create on Transition
More like this
Move parent and child issues together in the workflow
Move parent and child issues together in the workflow
More like this