How To Set The Resolution Field Based On A Custom Field

How do you set the Resolution field based on the value of a custom field? We have a custom field named Code Status. When this field is set to Deployed To Production, we'd like the Resolution field value to automatically change to Resolved.

We are running JIRA 7.0 on an on-premise server.

3 answers

I recommend you create a transition named "Deploy to Production" and let post action set resolution and that custom field together.

I see no other way, in JIRA it is not possible to set built-in values based on custom values. You could do the opposite. ( calculated custom fields)

That worked. Thanks!

In addition to the response from @Mike Friedrich you can use a scripting language such as ScriptRunner to set a value based upon the values of other fields. This would still be a post-function step on a workflow.

See the examples on for how to set issue attributes and check existing values of other fields.

It can be solved very easily using plugin 'workflow enhancer' and post function "universal post function". In that post function select custom field, its value and true/false depending upon your requirement, select 'update issue field', select 'resolution' value, update, delete any other update issue field condition in post function, publish.

Working in my requirement, should work in your case too. thanks.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you