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


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | removeWorklogSetEstimateTo(worklog, setTo) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Removes the worklog and sets Remaining time to the value of setTo.

Removes the worklog and sets Remaining time to the value of setTo.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| worklog | Number | Yes | Id of the selected worklog. |
| setTo | Interval | Yes | Interval to set the Remaining time with. |

## Return Type

**None**

## Example

```
removeWorklogSetEstimateTo(10000, "8h");
```

Removes the worklog with id = 10000, setting the remaining time to 8 hours.

## See also

> Macro (contentbylabel)