Post function on transition - alter copy field value

The scene:
I have a transition from Open -> Closed.
I have 2 issue types 'Fixable' and 'Random'.

The Issue:
I want to create a post function so that on transition from open to closed the 'resolved' field is updated based on the issue type. So that:
'fixable' implies that the resolution should be 'fixed'
'random' implies that the resolution should be 'invalid'

Is there anyway to alter the field you are copying over? Alternatively, I could just 'update' the field, but there doesn't seem to be a way to update the field based on some other field.

Is there a way to do something like this? 

1 answer

Hey Aram, the JIRA server has a JIRA Workflow Toolbox plugin allows these functions using a post function called Set a Field as a Function of other Fields. Try looking for a plugin with this kind of capability to JIRA Cloud. 

Hey Peter, Yeah, that's the main issue. We need this through cloud. Although your solution and plenty of other ones (e.g. groovy) exist for non-cloud installations, I'd need a cloud specific one.

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 Tuesday 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...

503 views 1 18
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