Accessing allocation endpoints
Allocations are available to all Enterprise and above customers
An allocation object represents how much of a resource (e.g. person, team) is dedicated to a specific work object (e.g. project, portfolio) over a specific period of time. The effort value of an allocation object can be a percentage or number of hours.
Capacity planning
Capacity planning in Asana leverages the allocations API to track and visualize user assignments across projects. By using allocation objects, Asana provides a comprehensive view of resource distribution. Each allocation can be represented as either a percentage or a number of hours, displayed as colored bars in the capacity plan UI.
Allocations are managed at the domain level, while capacity plans offer a filtered perspective of this data. When a team member is added to a capacity plan, their existing allocations from various projects are automatically fetched and shown. Any changes made to a user’s allocations—such as time adjustments or reassignments—are instantly reflected across all relevant capacity plans, ensuring real-time accuracy.
For users needing advanced reporting capabilities, the allocations API allows for data export to integrate with external reporting tools like Tableau or Power BI, providing flexibility for in-depth analysis.
Allocation
Property | Type | Description |
---|---|---|
gid | string | Globally unique identifier of the resource, as a string. |
resource_type | string | The base type of this resource. |
assignee | object | The user who is assigned to the allocation. |
assignee .gid | string | Globally unique identifier of the resource, as a string. |
assignee .name | string | Read-only except when same user as requester. The user’s name. |
assignee .resource_type | string | The base type of this resource. |
created_by | object | The user who created the allocation. |
created_by .gid | string | Globally unique identifier of the resource, as a string. |
created_by .name | string | Read-only except when same user as requester. The user’s name. |
created_by .resource_type | string | The base type of this resource. |
effort | object¦null | The amount of time associated with the allocation, represented as a percentage or number of hours |
effort .type | string | The units used for tracking effort on an allocation, either "hours" or "percent". |
effort .value | number | The numeric effort value on the allocation. |
end_date | date | The localized day on which the allocation ends. |
parent | object | The project the allocation is on. |
parent .gid | string | Globally unique identifier of the resource, as a string. |
parent .name | string | Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer. |
parent .resource_type | string | The base type of this resource. |
resource_subtype | string | The subtype of the allocation. |
start_date | date | The localized day on which the allocation starts. |
{
"data": [
{
"gid": "12345",
"resource_type": "allocation",
"resource_subtype": "project_allocation",
"assignee": {
"gid": "12345",
"name": "Greg Sanchez",
"resource_type": "user"
},
"parent": {
"gid": "12345",
"name": "Test Project",
"resource_type": "project"
},
"start_date": "2019-09-14",
"end_date": "2019-09-14",
"created_by": {
"gid": "12345",
"name": "Greg Sanchez",
"resource_type": "user"
},
"effort": {
"type": "percent",
"value": 50
}
}
]
}