Write jira expression for use in jira Automation

Job ID: 34372114

Budget: $10 – $30 USD

Hi there,

I'm in need of a Jira expression to be written for use with Jira Automation to do the following:

. Take the text of a custom text field that contains a customer name and convert it to a Label
. As part of the conversion, this will need to retain ALL existing labels already set on the jira item AND replace any spaces or "/" with an "_" underscore for use as a label.

The custom field number is 10118.

Looking for a quick solution.
Related categories: JavaScript Atlassian Jira