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


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getWebLinksForIssue(issueKey) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Gets the ids of all the web links on an issue.

Gets the ids of all the web links on an issue.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| issue key | String | Yes | Key of the selected issue. |

## Return Type

**Number []**

Array containing the IDs of all web links on an issue.

## Example

```
number&nbsp;[] ids = getWebLinksForIssue(key);

for(number wlid in ids){
	string&nbsp;[] props = getWebLinkById(wlid);
	if(props[0] == theOtherKey) {
		deleteWebLinkById(wlid);
	}
}
```

## See also

> Macro (contentbylabel)