jira.js
Guide
GitHub
Preparing search index...
server
getVotes
Function getVotes
getVotes
(
client
:
Client
,
parameters
:
{
issueIdOrKey
:
string
}
,
options
?:
RequestOptions
,
)
:
Promise
<
{
hasVoted
?:
boolean
;
self
?:
string
;
voters
?:
{
active
?:
boolean
;
avatarUrls
?:
Record
<
string
,
string
>
;
displayName
?:
string
;
emailAddress
?:
string
;
key
?:
string
;
name
?:
string
;
self
?:
string
;
timeZone
?:
string
;
[
key
:
string
]:
unknown
;
}
[]
;
votes
?:
number
;
[
key
:
string
]:
unknown
;
}
,
>
A REST sub-resource representing the voters on the issue.
Parameters
client
:
Client
parameters
:
{
issueIdOrKey
:
string
}
issueIdOrKey
:
string
Issue id or key
Optional
options
:
RequestOptions
Returns
Promise
<
{
hasVoted
?:
boolean
;
self
?:
string
;
voters
?:
{
active
?:
boolean
;
avatarUrls
?:
Record
<
string
,
string
>
;
displayName
?:
string
;
emailAddress
?:
string
;
key
?:
string
;
name
?:
string
;
self
?:
string
;
timeZone
?:
string
;
[
key
:
string
]:
unknown
;
}
[]
;
votes
?:
number
;
[
key
:
string
]:
unknown
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guide
GitHub
jira.js
Loading...
A REST sub-resource representing the voters on the issue.