I have been pretty happy with this so far but this is pretty odd. So for me to get a field I have to loop this whole array and look for the name of the field then get the info out of that field because of the number of items in the array changes depending on if anything is in the custom fields.
If you run the GET issue REST request, then all the fields' states will be there, except empty ones.
$file = file_get_contents($base_tracker_link.'/rest/issue/xxx', false, $context);
I have been pretty happy with this so far but this is pretty odd. So for me to get a field I have to loop this whole array and look for the name of the field then get the info out of that field because of the number of items in the array changes depending on if anything is in the custom fields.