deleteRemoteIssueLinkByGlobalId method
Deletes the remote issue link from the issue using the link's global ID.
Where the 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 and Link issues project permission for the project that the issue is in.
- If issue-level security is implemented, issue-level security permission to view the issue.
Implementation
Future<void> deleteRemoteIssueLinkByGlobalId(
{required String issueIdOrKey, required String globalId}) async {
await _client.send(
'delete',
'rest/api/3/issue/{issueIdOrKey}/remotelink',
pathParameters: {
'issueIdOrKey': issueIdOrKey,
},
queryParameters: {
'globalId': globalId,
},
);
}