Skip to end of banner
Go to start of banner

How to restrict auto creation of duplicate issues when issue is reopened

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

Whenever multiple issue creation is configured for 'creation on a transition' post function and same transition occurs after the reopening of the issue, the post function will execute again and will create duplicate issues. This article explains on how to restrict the creation of duplicate issues when the issue is reopened.

Instructions

  1. Log into Jira as a Jira Administrator and click  > Issues  > Projects
  2. Navigate to the intended project and Click on Project Settings > Click on target Workflow
  3. Click on target transition where Create on Transition is configured. 
  4. Let's assume below is the sample post function configured for Creation of multiple issues for Custom field value selection. Please see the page How to create multiple issues for reference.Post Function                 
  5. Click On  to edit Create Issue Post function
      
  6. Click On Conditions and Configurations section available on the left navigation panel.

  7. Write a below JQL in JQL query field. The query checks whether the original issue was in closed status or not.   

    issue = %original_key% AND Status was in (Closed)

  8. Add below condition and issues will be created only when below condition is true.
      


  9. Update the configuration and updated post function looks like below.
     

  10. Publish the workflow before executing the transition. You will be able to see that no duplicate issues will be created when the same transition occurs post reopen of the issue.


The suggestion is to test this scenario in a test environment before implementing the same in the production. 

  • No labels