Allocations

📘

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

PropertyTypeDescription
gidstringGlobally unique identifier of the resource, as a string.
resource_typestringThe base type of this resource.
assigneeobjectThe user who is assigned to the allocation.
assignee.gidstringGlobally unique identifier of the resource, as a string.
assignee.namestringRead-only except when same user as requester. The user’s name.
assignee.resource_typestringThe base type of this resource.
created_byobjectThe user who created the allocation.
created_by.gidstringGlobally unique identifier of the resource, as a string.
created_by.namestringRead-only except when same user as requester. The user’s name.
created_by.resource_typestringThe base type of this resource.
effortobject¦nullThe amount of time associated with the allocation, represented as a percentage or number of hours
effort.typestringThe units used for tracking effort on an allocation, either "hours" or "percent".
effort.valuenumberThe numeric effort value on the allocation.
end_datedateThe localized day on which the allocation ends.
parentobjectThe project the allocation is on.
parent.gidstringGlobally unique identifier of the resource, as a string.
parent.namestringName 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_typestringThe base type of this resource.
resource_subtypestringThe subtype of the allocation.
start_datedateThe 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
      }
    }
  ]
}