Module issue_votes_api

Source

Enums§

AddVoteError
struct for typed errors of method add_vote
GetVotesError
struct for typed errors of method get_votes
RemoveVoteError
struct for typed errors of method remove_vote

Functions§

add_vote
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: * Browse projects project permission for the project that the issue is in. * If issue-level security is configured, issue-level security permission to view the issue.
get_votes
Returns details about the votes on an issue. 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. This operation can be accessed anonymously. Permissions required: * Browse projects project permission for the project that the issue is ini * If issue-level security is configured, issue-level security permission to view the issue. Note that users with the necessary permissions for this operation but without the View voters and watchers project permissions are not returned details in the voters field.
remove_vote
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: * Browse projects project permission for the project that the issue is in. * If issue-level security is configured, issue-level security permission to view the issue.