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
Community Members
Community Events
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 



Log in or Sign up to comment
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

331 views 0 7
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