Function: createOrUpdateRemoteIssueLink()
ts
function createOrUpdateRemoteIssueLink(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
}>;Defined in: src/server/api/issues.ts:813
Creates or updates a remote issue link from a JSON representation. If a globalId is provided and a remote issue link exists with that globalId, the remote issue link is updated. Otherwise, the remote issue link is created.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { application?: { name?: string; type?: string; }; globalId?: string; issueIdOrKey: string; object?: { icon?: { link?: string; title?: string; url16x16?: string; }; status?: { icon?: { link?: string; title?: string; url16x16?: string; }; resolved?: boolean; }; summary?: string; title?: string; url?: string; }; relationship?: string; } | - |
parameters.application? | { name?: string; type?: string; } | - |
parameters.application.name? | string | - |
parameters.application.type? | string | - |
parameters.globalId? | string | - |
parameters.issueIdOrKey? | string | Issue id or key |
parameters.object? | { icon?: { link?: string; title?: string; url16x16?: string; }; status?: { icon?: { link?: string; title?: string; url16x16?: string; }; resolved?: boolean; }; summary?: string; title?: string; url?: string; } | - |
parameters.object.icon? | { link?: string; title?: string; url16x16?: string; } | - |
parameters.object.icon.link? | string | - |
parameters.object.icon.title? | string | - |
parameters.object.icon.url16x16? | string | - |
parameters.object.status? | { icon?: { link?: string; title?: string; url16x16?: string; }; resolved?: boolean; } | - |
parameters.object.status.icon? | { link?: string; title?: string; url16x16?: string; } | - |
parameters.object.status.icon.link? | string | - |
parameters.object.status.icon.title? | string | - |
parameters.object.status.icon.url16x16? | string | - |
parameters.object.status.resolved? | boolean | - |
parameters.object.summary? | string | - |
parameters.object.title? | string | - |
parameters.object.url? | string | - |
parameters.relationship? | string | - |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; }>