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.
اضافه کردن نظر
Please log in or register to submit a comment.