this code wriiten in postfunction i want to use in the behaviour. please help me in this
def roleTitleObj = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectsByName("Role")[0];
def insightObj = issue.getCustomFieldValue(roleTitleObj)
what need to check . SO that i can use this in the behaviour
please suggest