Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Pravin Awati August 21, 2019

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
AUG Leaders

Atlassian Community Events