---
title: "tempoAddAllocationForUser"
canonical: "https://support.appfire.com/space/PSJ/15488293/tempoAddAllocationForUser"
format: markdown
---
> Macro (aura-html)


> 📝 The use of this function requires the SIL Tempo Connector add-on (free) be installed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | tempoAddAllocationForUser(user, issueKey, startDate, endDate, plannedHoursPerDay, description, [, reviewer]) | **Package** | tempo |
| **Alias** |  | **Pkg Usage** | addAllocationForUser(user, issueKey, startDate, endDate, plannedHoursPerDay, description, [, reviewer]) |

> ❌ Note that this function is only available if the Tempo Planner add-on is installed.

## Description

> Macro (excerpt)
> 
> Function adds another allocation for the user on the specified issue. Reviewer is optional. Allocation time is leveled to accommodate the existing allocation of the user.

Function adds another allocation for the user on the specified issue.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| user | String | Yes | The user whose time will be allocated. |
| issueKey | String | Yes | Issue on which you wish to allocate. |
| startDate | Date | Yes | The start date; if null, no such filter will be applied. |
| endDate | Date | Yes | The stop date; if null, no such filter will be applied. |
| plannedHoursPerDay | Number | Yes | Amount of hours per day to be allocated. |
| reviewer | String | No | Reviewer, optional |

## Return Type

**Boolean**

## See also

> Macro (contentbylabel)

> Macro (fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macro)