Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Add vote to issue

Adds voter (currently logged user) to particular ticket. You need to be logged in to use this method.

POST/api/2/issue/{issueIdOrKey}/votes
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
issueIdOrKeystringrequired

Issue id.

Responses
200

Returns the vote count for particular ticket.

404

Returned if the user cannot vote for any reason. (The user is the reporter, the user does not have permission to vote, voting is disabled in the instance, the issue does not exist, etc.)

Try it
Server
Authorization
Parameters
Request
curl -X POST 'http://jira.example.com/rest/api/2/issue/string/votes' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
Returns the vote count for particular ticket.

Was this page helpful?