jira.js
    Preparing search index...

    Function getVersionRelatedIssues

    • Returns the following counts for a version:

      • Number of issues where the fixVersion is set to the version.
      • Number of issues where the affectedVersion is 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

      • client: Client
      • parameters: { id: string }
        • id: string

          The ID of the version.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              customFieldUsage?: {
                  customFieldId?: number;
                  fieldName?: string;
                  issueCountWithVersionInCustomField?: number;
                  [key: string]: unknown;
              }[];
              issueCountWithCustomFieldsShowingVersion?: number;
              issuesAffectedCount?: number;
              issuesFixedCount?: number;
              self?: string;
              [key: string]: unknown;
          },
      >