We offer two separate post functions for your Jira workflows.
- Complete all open tasks
- Skip all open tasks
The differences are in the name, one of these allows you to automatically complete tasks, while the other allows you to skip them. For the purpose of this page, we will use the "Complete all open tasks" post function.
You must have Jira admin permission in order to add a post function to a Jira workflow. If you do not have Jira admin permission, request assistance from the Jira admin of your instance. Please keep in mind the general best practices when editing Jira workflows. This workflow could be shared with other projects, try to be aware of how many projects you are changing.
1. Navigate to the project settings for the project that you would like to add the workflow post function.
2. Go to the "Workflows" on the left side and click the pencil icon to edit the workflow.
3. In the diagram view, click the transition you would like to add the post function to.
4. Select "Post Functions" from the options.
5. Click "Add post function."
6. Choose the post function "Complete all open tasks" from the list.
7. Create the post function by clicking "Add" again.
8. Press "Add" one more time to confirm the post function.
9. Publish the draft to apply the changes and make them effective. If you think you may want to revert the change, you can always save a backup copy.
Now, when users transition a Jira issue to Done, all tasks will be marked as completed.
You can use this same method for any status and any transition in a company managed project.