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


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

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | tempoSetWorklogAttribute(worklogId, worklogAttrName, value) | **Package** | tempo |
| **Alias** |  | **Pkg Usage** | setWorklogAttribute(worklogId, worklogAttrName, value) |

## Description

> Macro (excerpt)
> 
> Sets the value of the work log attribute, as a string. Such work log should exist, as well as the TEMPO attribute on it.

Sets the value of the work log attribute, as a string. Such work log should exist, as well as the TEMPO attribute on it. This function does not create the value on the work log attribute if it does not exist already.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| worklogId | String | Yes | Worklog id. |
| worklogAttrName | String | Yes | The attribute name or directly the key of the attribute, if already determined. |
| value | String | Yes | The value. |

## Return Type

**Boolean**

The function returns true if the value has been updated, false if not.

## See also

> Macro (contentbylabel)

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