We are using external service to approve vacations\dayoffs\aways of our employees. It would be really great to have some API access for setting “show me as away” in asana, so we can do it automatically from external service data.
Could you help with this ability for asana API, please?
Sadly, no. We don’t expose this functionality yet and I don’t think it’s on the API team’s roadmap. I’ll ensure there’s a task in their backlog for it.
I have a personal CLI tool that sets my away status across all the services I use (Slack, GitHub, etc.) with a single command. Asana is the only one I can’t automate.
The data model is already there — vacation_dates exists on WorkspaceMembershipResponse as a read-only field. Making it writable (or adding a corresponding field on WorkspaceMembershipRequest) would be enough to unblock this.
Beyond vacation dates, exposing working hours through the API would also be valuable. People with non-standard or frequently changing schedules have no way to keep Asana in sync programmatically. Both fields would go a long way toward making Asana a first-class citizen in automated status workflows.
Thanks for the suggestion. User management automations that handle OOOs are definitely valuable, especially if they can integrate with a workforce “source of truth” like Workday.
I’ve gone ahead and created an internal task to review this and prioritize appropriately. One note: Workspace memberships is a fully read-only API surface, so I wouldn’t expect this to be implemented there.
It may be also suited as a SCIM field (depending on how customers prefer to manage and provision this data).
Do you have any ETA for when this might be available? The original request is from 2020, if not earlier and there are many companies that might leverage from this sort of automation.
We have team members that we have to go and ask them to set their status, while they are on sick leave, for example.