Skip to content

Function: addVote() ​

ts
function addVote(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/cloud/api/issueVotes.ts:51

Adds the user's vote to an issue. This is the equivalent of the user clicking Vote 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:

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ issueIdOrKey: string; }-
parameters.issueIdOrKeystringThe ID or key of the issue.
options?RequestOptions-

Returns ​

Promise<void>