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 on Project Settings > Click on intended Workflow
- Click on target transition and add "Create Issue" post function.
- Click on Conditions and Configurations.
- Add below JQL query and that should return issues that are linked to original issue with custom field value A.
6. Add below conditions in Conditions tab and transition will be executed only when all conditions are true
7. Set Custom Field value to A in Custom Fields section.
8. Update the Post Function; Sample Post Function looks like below
9. Repeat the steps 3 to 8 for each value of custom field; Sample Post Functions should look like below.
10. Publish the workflow before executing the transition. You will be able to see that issues will be created for only 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.