Script Not Working to Modify Field Name

Julia August 23, 2022

This script is not working to change the name of my field "Escalation Sub-Type" to "Type of Detection Issue". Any ideas why? 

 

Screen Shot 2022-08-23 at 10.11.31 AM.png

1 answer

0 votes
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 24, 2022

Hi @Julia  Try to apply Behaviour on Field,

Even on Initialiser it should work fine, not sure why it's not working for you. 

 

def summary = getFieldById("summary") // for custom field replace summary with customfield_id
summary.setLabel("Describe the Issue") 

 

Apply on Field.PNG

Suggest an answer

Log in or Sign up to answer