How do I update current_status
through Google Apps Script?
Do you have a way to share the request that was sent?
This code works from the terminal:
curl --request PUT -H “Authorization: Bearer :token” -H “Content-Type: application/json” https://app.asana.com/api/1.0/projects/:projects -d ‘{“data”: {“notes”: “Any notes!”, “current_status”: { “color” : “green”, “text” : “Any text!” } } }’
And this code does not work in Google Apps Script:
Perhaps the headers are incorrectly specified?