I have a custom field which is a checkbox. This also happens for a selection field that has options of None and Yes.
If it is unchecked, in the REST API for the Issue I get
If it is checked I get
This makes it impossible to define a structure to capture the JSON into. Regardless of which way I code it, when I encounter the opposite my progam panics because it doesn't match the defined structure.
Thanks Michael. I was able to make it work doing that, but I was also curious why I was getting different values for different fields that according the administrator were both boolean values. Seems there's multiple ways to define fields and they produce different results.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events