---
title: "remoteWorklogs"
canonical: "https://support.appfire.com/space/PSCONF/1265958913/remoteWorklogs"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | remoteWorklogs(spaceKey, jql) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Returns remote JIRA work log via Application Links.

Returns remote JIRA work log via Application Links.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | spaceKey | String | Yes | Key of space to search in. |
> | jql | String | Yes | Jira Query Language (JQL) search string. |

## Return Type

[**CRWorklog []**](https://appfire.atlassian.net/wiki/spaces/PSCONF/pages/15303915)

Returns an array of worklogs.

## Example

### Example 1

Retrieve remote logs

```javascript
CRWorklog [] logs = remoteWorklogs(spaceKey, jql);
return logs;
```

## See also

> Macro (contentbylabel)