How to create new issues for newly selected custom field value during repetitive transitions
This article explains how to create new issues only for newly selected custom field values during repetitive transitions.
Step-by-step guide
- Log into Jira as a Jira Administrator and click > Issues > Projects.
- Navigate to the intended project and click Project Settings > Intended Workflow.
- Select the target transition and add the Create Issue post function.
- Select Conditions and Configurations.
- 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.