I want to find a way to "programmatically" set the Priority field in a Jira issue, based on the value of two other fields (they happen to be custom fields, if that makes a difference). I was originally hoping to be able to do this in a Post-Function of a Workflow Transition, but apparently I can only set a field to a specific value, not a computed one (with the built-in post-functions, at least).
I don't want to add another plugin, unless it is free and well-regarded by the community.
What is the best approach? (I'm running JIRA 5.1).
Hi Kevin, while I was reading your question I thought 'definitely going to recommend him the Script Runner Plugin' then I read your almost last line. Anyway, I'm going to insist with that plugin because it's not only free but it is by far the best plugin I'm using, many people can say that.
This plugin has what it's called Built-in scripts, with many possibilities. It's like adding code but that it's only executed when an event it's fired. Check it out.
Hope this helps.