...
Create a draft of your project workflow.
Select the transition you want to add your post function to. In this case, we select the transition to
.Status colour Green title done Select the Post Functions tab then click Add post function.
Select the ‘Linked transition’ (JSU) post function then click Add. The post function configuration page displays.
Configure your post function:
We want to move an issue to Done when all its subtasks are done, so for the Trigger transition on all issues related as: option, we select, Parent/Subtask > Parent (issue in transition must be subtask).
Choose the transition that you want to apply to the issue when all the subtasks are done. Here, we want the parent issue to move to Done. You don’t need to add a resolution. If you do include a resolution, make sure that the resolution field is visible on the transition screen.
Since we only want to close the parent issue when the last task is closed, we need to configure the status of all sibling issues. In this case, we choose the Done status so that the linked transition will be executed only once the last subtask is done.
Select Add at the bottom of the page.
Publish your workflow.
Now go to your issue and move all the subtasks to
. Watch as the parent issue moves toStatus colour Green title done
. You may need to refresh your browser to see the change. You can similarly configure the same automation process for an epic and all its subtasks.Status colour Green title done
...