Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,049
Community Members
 
Community Events
168
Community Groups

How to get value from Dropdown to in string in script runner

I am adding this code to post function of workflow 

i need to to compare the value which is selected by user from Dropdown i tried below code 

CustomFieldManager customFieldManager108 = ComponentAccessor.getCustomFieldManager()

def tType = customFieldManager108.getCustomFieldObjectByName("Function Providing the Approval")

def fieldVal = issue.getCustomFieldValue(tType).toString()

 

but unfortunately i am getting null value in fieldVal  

can you please help on this 

0 comments

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events