deleteRemoteIssueLinkById method

Future<void> deleteRemoteIssueLinkById({
  1. required String issueIdOrKey,
  2. required String linkId,
})

Deletes a remote issue link from an issue.

This operation requires issue linking to be active.

This operation can be accessed anonymously.

Permissions required:

  • Browse projects, Edit issues, and Link issues project permission for the project that the issue is in.
  • If issue-level security is configured, issue-level security permission to view the issue.

Implementation

Future<void> deleteRemoteIssueLinkById(
    {required String issueIdOrKey, required String linkId}) async {
  await _client.send(
    'delete',
    'rest/api/3/issue/{issueIdOrKey}/remotelink/{linkId}',
    pathParameters: {
      'issueIdOrKey': issueIdOrKey,
      'linkId': linkId,
    },
  );
}