...
- 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. - Select Create Sub-task Update Issues post function as shown below:
- 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, it updates the parent issue of the subtask once the post-function executes. - 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.
- Click Update to save the settings. Verify the condition:
- Publish the workflow draft.
- Perform In Progress transition. Once the transition happens, the Due date of the parent issue gets updated with an offset of 5 working days as per the post-function.
...