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

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

## Description

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

Returns remote JIRA issue 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. |
> | retrieveLongFields | String [] | Yes | Array containing the fields names. |

## Return Type

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

Returns an array of issues.

## Example

### Example 1

Returns an array of issues.

```javascript
CRIssue [] issues = remoteIssues(spaceKey, jql, retrieveLongFields);
return issues;
```

## See also

> Macro (contentbylabel)