This article explains on how explains how to create new issues only for newly selected custom field values during repetitive transitions.
Info | ||||
---|---|---|---|---|
| ||||
For example whenever When In Progress transition is executed issues needs being performed, issues need to be created for selected values of Custom fieldcustom fields. When Custom a custom field is updated with additional new value values and In Progress transition executed is performed again, an issue needs to be created for only only the newly added value of Custom field and no custom field value. No duplicate issues should not be created for previously selected values of custom field values. |
Step-by-step guide
...
- Log into Jira as a Jira Administrator and click > Issues > Projects.
- Navigate to the intended project and Click onclick Project Settings > Click on target Intended Workflow.
- Click on Select the target transition and add "the Create Issue" Post Function post function.
- Click on Select Conditions and Configurations.
- Add below JQL query and JQL query returns issue as displayed in the image below, to 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 the Conditions section as displayed in the image below, to transition only when all conditions are true.
7. Set Custom Field the custom field value to A in the Custom fields sectionFields tab.
8. Update the Post - Function and ; Sample Post functions Function looks like below
9. Repeat the steps 3 to 8 for each value of custom field and value. Sample post functions looks should look like below.:
10. Publish the workflow before executing performing the transition. You will be able to see that the issues will be are created only for only new the newly selected value of custom field during repetitive transitions.
Info |
---|
The suggestion It is recommend to test this scenario in a test environment before implementing the same it in the production. |