Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article helps how to update the parent issue's due date field of the parent issue, once the subtask's due date of the subtask gets 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 project and edit the same.
  2. Select Create Sub-task post function as shown below:
    Image RemovedImage Added
  3. Select the Detailed Fields and add %parent_key% for Issues to update and respective issue type under Issue type section:
    Image RemovedImage Added
    By The reason for adding %parent_key% is, once the post-function executes it updates 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 desired 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:
    Image RemovedImage Added
  6. Publish the workflow draft.
  7. Perform In Progress transition as shown. Once the transition happens, the Due date of the parent 's issue Due date will get issue gets updated with an offset of 5 working days as per the post-function.
    Image RemovedImage Added
    Image RemovedImage Added


Info

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.

...