Recently I’ve used ExternCustomFieldValue, to populate two custom field with values from a database. These two field are select one value type and they are category based fields. As you can see in the print screen, I have a Project Name and each project has a Manager. I want to write a script, so when the ticket is created, the system set the value of Project Manager custom field to it’s first value. I know how to set a value on a ticket creation, but my question is, how I can get the first value in that field and set it as the default value?
This return me the same value as before, ( no value ) . Is there any way I can loop trough the values , and select the first value in that field ? I don’t know