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
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Get the most out of Jira Service Management
Solve customer problems efficiently and deliver outstanding service experiences.
Learning Path
Adopt ITSM practices to deliver exceptional service
Become familiar with the principles and practices that drive ITSM. Then, learn how to configure and use Jira Service Management to implement them.
Atlassian Certified Associate
Jira Service Management Agent Essentials certification
Prove you know what's essential to providing efficient and resolution-focused service in Jira Service Management.