Today I noticed that the call to get ticket fields is returning incorrect information in an application.
Call:
client.get(['ticketFields:custom_field_{id}'])
For example, when I call
client.get('ticketFields:custom_field_24288776').then((r)=>{//do stuff}
r.ticketFields:custom_field_24288776.options and r.ticketFields:custom_field_24288776.optionValues are returning values for a different custom field (ID: 23214529) created to track issue impact.
I have also tried to pull all fields using client.get('ticketFields'), and all values across all fields are returning the values for that same custom field, including built-in, non-custom fields. In the picture below, you can see the options and values are not what they should be for these built in fields.
I want to avoid hard coding in the options into my application, because if fields ever change, I don't want to also have to update my app. Is anyone else having this issue?


