Hi,
I want to make a simple if (issueInput.fields.customfield_123.value == 'IT')
being my custom a single select list.
How can I get the value of the customfield on the Postfunction Script Runner
Answering my own question and hoping it helps to someone else:
{code}
def cf = 'customfield_10093'
def dept_v = issue.fields[cf]['value'] as String
if (dept_v == 'IT'){
*SOME CODE HERE*
}
{code}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.