Skip to end of banner
Go to start of banner

How to create new issues for newly selected custom field value during repetitive transitions

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 4 Next »

This article explains how to create new issues only for newly selected custom field values during repetitive transitions.

Use Case

When In Progress transition is executed, issues need to be created for selected values of Custom field. When Custom field is updated with additional new value and In Progress transition is executed again, an issue needs to be created for only the newly added value of Custom field. No duplicate issue should be created for previously selected values of custom field.

Step-by-step guide:

  1. Log into Jira as a Jira Administrator and click  > Issues  > Projects.
  2. Navigate to the intended project and click Project Settings > Intended Workflow.
  3. Select the target transition and add the Create Issue post function. 
  4. Select Conditions and Configurations.
  5. Add JQL query as displayed in the image below, to return issues that are linked to original issue with custom field value A.

         

     6. Add conditions in the Conditions section as displayed in the image below, to transition only when all conditions are true.

          

      7. Set the custom field value to A in the Custom Fields tab.

          

      8. Update the Post Function; Sample Post Function looks like below

          

      9. Repeat the steps 3 to 8 for each custom field value. Sample post functions should look like:

           

      10. Publish the workflow before performing the transition. You see that the issues are created only for the newly selected value of custom field during repetitive transitions.

It is recommend to test this scenario in a test environment before implementing it in production. 



  • No labels