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*}
It looks like you're new here. Sign in or register to get started.