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 comment
Community showcase
Published in Marketplace Apps & Integrations

How to increase productivity and grow billable hours amount in Jira

    For several managers it’s a real challenge (sometimes a nightmare) to deal with multiple service contracts and turn every working hour into a billable hour. This is crucial to m...

74 views 0 2
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