When calling the /custom_types API endpoint
curl --request GET
–url ‘https://app.asana.com/api/1.0/custom_types?opt_fields=name,status_options,status_options.name,status_options.color,status_options.completion_state,status_options.enabled&project=’
–header ‘accept: application/json’
–header ‘authorization: Bearer ’
The response contains “gid”: “undefined” for each of the status options.
To be able to programatically access and define custom types, we need a source for the GIDs
To that end, I’m also looking forward to seeing Global Custom Types so that one GID reference can be applied across all projects.