How to update issuetype based on a custom field value using Update on Transition app
This article helps update the issuetype based on a custom field value using the Update on Transition app.
Instructions
- Log into Jira as an Administrator.
- Go to the desired Project > project's Workflow > respective post function.
- If the post function already exists then proceed to step:# 5.
- If there is no post function configured then follow the steps from step# 3.
- Edit the workflow and go to the transition, where you want to add the Update on Transition post function.
- Click Add post function and select Bob Swift's Update Issues post function as shown below:
- The post function will have the following condition and regex value.
Condition value as %original_customfield_11400% where 11400 is the custom field id.
Regex pattern will contain the value, here, for example, UoT. - Click Update to save the settings.
- Publish the Workflow.
- Go to any Jira Issue and provide the custom field value UoT and perform the transition. After the transition happens, the current issuetype gets updated to Epic as shown below.
- It is recommended to test this solution in a non-production environment before trying in production environment.