Function: getRemoteIssueLinks()
function getRemoteIssueLinks(
client,
parameters,
options?
): Promise<
| {
[key: string]: unknown;
application?: {
[key: string]: unknown;
name?: string;
type?: string;
};
globalId?: string;
id?: number;
object?: {
[key: string]: unknown;
icon?: {
[key: string]: unknown;
link?: string;
title?: string;
url16x16?: string;
};
status?: {
[key: string]: unknown;
icon?: {
[key: string]: unknown;
link?: string;
title?: string;
url16x16?: string;
};
resolved?: boolean;
};
summary?: string;
title: string;
url: string;
};
relationship?: string;
self?: string;
}
| object[]>;Defined in: src/cloud/api/issueRemoteLinks.ts:29
Returns the remote issue links for an issue. When a remote issue link global ID is provided the record with that global ID is returned, otherwise all remote issue links are returned. Where a global ID includes reserved URL characters these must be escaped in the request. For example, pass system=http://www.mycompany.com/support&id=1 as system%3Dhttp%3A%2F%2Fwww.mycompany.com%2Fsupport%26id%3D1.
This operation requires issue linking to be active.
This operation can be accessed anonymously.
Permissions required:
- Browse projects project permission for the project that the issue is in.
- If issue-level security is configured, issue-level security permission to view the issue.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { globalId?: string; issueIdOrKey: string; } | - |
parameters.globalId? | string | The global ID of the remote issue link. |
parameters.issueIdOrKey? | string | The ID or key of the issue. |
options? | RequestOptions | - |
Returns
Promise< | { [key: string]: unknown; application?: { [key: string]: unknown; name?: string; type?: string; }; globalId?: string; id?: number; object?: { [key: string]: unknown; icon?: { [key: string]: unknown; link?: string; title?: string; url16x16?: string; }; status?: { [key: string]: unknown; icon?: { [key: string]: unknown; link?: string; title?: string; url16x16?: string; }; resolved?: boolean; }; summary?: string; title: string; url: string; }; relationship?: string; self?: string; } | object[]>