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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 



Log in or Sign up to
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

🚀 Weekly Atlassian News Roundup by Jexo & Easy Agile | 20th September 2021

Good morning community 👋, As every week we prepared a roundup of the latest news from across the Atlassian ecosystem on our Monday Coffee with Jexo podcast. This week we were delighted to have a...

81 views 2 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you