Edit options in Drop down for "TYPE"

Respondida

1 Comentários

  • Ahmed Zaid

    Hi Tony Mancini,

    First, I assume you are using ZAF in your application and initialised the client. You can query the optionvalues of the type field:

    client.get('ticketFields:type.optionValues')

    It should return all the available option objects. Find the desired option in the array and store its index. You can then change its label by replacing 0 with that index in the set statement:

    client.set('ticketFields:type.optionValues.0.label', value)

    Note that these are only UI changes. It is not possible to change the values of a system field.

    0

Por favor, entrar para comentar.

Powered by Zendesk