Function: getVotes()
ts
function getVotes(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
hasVoted?: boolean;
self?: string;
voters?: object[];
votes?: number;
}>;Defined in: src/server/api/issues.ts:1016
A REST sub-resource representing the voters on the issue.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { issueIdOrKey: string; } | - |
parameters.issueIdOrKey | string | Issue id or key |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; hasVoted?: boolean; self?: string; voters?: object[]; votes?: number; }>