Function: getVersionRelatedIssues()
ts
function getVersionRelatedIssues(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
customFieldUsage?: object[];
issueCountWithCustomFieldsShowingVersion?: number;
issuesAffectedCount?: number;
issuesFixedCount?: number;
self?: string;
}>;Defined in: src/cloud/api/projectVersions.ts:243
Returns the following counts for a version:
- Number of issues where the
fixVersionis set to the version. - Number of issues where the
affectedVersionis set to the version. - Number of issues where a version custom field is set to the version.
This operation can be accessed anonymously.
Permissions required: Browse projects project permission for the project that contains the version.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { id: string; } | - |
parameters.id | string | The ID of the version. |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; customFieldUsage?: object[]; issueCountWithCustomFieldsShowingVersion?: number; issuesAffectedCount?: number; issuesFixedCount?: number; self?: string; }>