/
How to restrict auto creation of duplicate issues when an issue is reopened
How to restrict auto creation of duplicate issues when an issue is reopened
Whenever multiple issue creation is configured for the Creation on Transition post function and the same transition occurs after the reopening the issue, the post function is run again resulting in duplicate issues. This article explains how to restrict the creation of duplicate issues when the issue is reopened.
Instructions
- Log into Jira as a Jira Administrator and click > Issues > Projects.
- Navigate to the intended project and click Project Settings > intended workflow.
- Click the transition for which Create on Transition is configured.
Let's assume a sample post function configured for creation of multiple issues for custom field value selection. Please refer to How to create multiple issues for more information. - Click
to edit the Create Issue post function - Select the Conditions & Configuration tab on the left navigation panel.
- Enter the below mentioned JQL in JQL query field:
The query checks whether the original issue was in closed status or not. - Add the below mentioned condition for the issues to be created only when the condition is met:
- Update the configuration and the updated post function looks like:
- Publish the workflow before executing the transition. You see that no duplicate issues are created when the same transition occurs after reopening the issue.
It is recommend to test this scenario in a test environment before implementing the same in the production.
, multiple selections available,
Related content
Reopen issue when new Bug is linked
Reopen issue when new Bug is linked
More like this
Create a Linked Issue post function
Create a Linked Issue post function
More like this
Limit transitions based on the status of dependent issues
Limit transitions based on the status of dependent issues
More like this
Release notes 1.0.3-AC
Release notes 1.0.3-AC
More like this
Create on Transition for Jira
Create on Transition for Jira
More like this