I am trying to set option for the dropdown - status field under ticket detail page.
I found these in some other threads but none of them works
client.interface.trigger(‘setOptions’, {
id: field,
value: [‘Open’, ‘Pending’]
});
client.interface.trigger(‘setOptions’, {
id: field,
value: [{‘Open’: {}}, {‘Pending’: {}}]
});
client.interface.trigger(‘setOptions’, {
id: field,
value: [{‘Open’: null}, {‘Pending’: null}]
});