Прескочи към главното съдържание

API should return ID of "predefined choices" custom field - Общност / Feature Request - Deskpro Support

27

API should return ID of "predefined choices" custom field Collecting Feedback

We have defined a custom field of type 'predefined choices' (see screenshot). When I retrieve a ticket's properties through the API, I unfortunately only get the string values for that custom field. Since we want to check the value of that field and update it if necessary, it would be much better to get the ID of the field's option (in this case ID 4 = "Planned"), since an integer comparison is much better to handle than a string comparison, especially because the option names might be modifed in the future.

Добави коментар

Моля, логнете се или се регистрирайте, за да оставите коментар.

Подсещане за парола?