removeVote method

Future<void> removeVote(
  1. String issueIdOrKey
)

Deletes a user's vote from an issue. This is the equivalent of the user clicking Unvote on an issue in Jira.

This operation requires the Allow users to vote on issues option to be ON. This option is set in General configuration for Jira. See Configuring Jira application options for details.

Permissions required:

Implementation

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