Is it possible to update a custom field to a pre-determined value only when an issue makes a specific transition?
For example, we would like to update a custom field to a particular value only when it transitions from the "Open" status to the "Closed" status directly.
It is certainly possibly using a post function in your workflow's transition.
There is a post function called "Update Issue Field" but it is not for custom fields. So I would recommend you to take a look at ScriptRunner which can do exactly what you are looking for. This page has some examples as well.
I hope it helps.
Hi @Garry_Harman ,
as mentioned before you won't be able to update a custom field without an additional workflow app. e.g. Jira Workflow Toolbox, Jira Misc Workflow Extensions, Jira Suite Utilities or the aforementioned Script Runner if you're familiar with groovy.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event