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}/votesAuthorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
or
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Path parameters
issueIdOrKeystringrequiredIssue 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.)