Zum Hauptinhalt springen

API should return ID of "predefined choices" custom field - Community / 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.

Fügen Sie einen Kommentar hinzu

Bitte loggen Sie sich ein oder melden Sie sich an, um einen Kommentar zu hinterlassen.

Benötigen Sie eine Passwort-Erinnerung?