I need to put a condition on the user field in the post function. The custom field has a format list, i.e. The user chose the value and the function should look at this condition. Tell me how it can be done? How does getCustomFieldValue return a field of type list?
it's not working:
Is1 = issue.getCustomFieldValue(customField)
if Is1 == 'test1':