---
title: "Bulk fetch changelogs"
method: POST
path: "/rest/api/3/changelog/bulkfetch"
tags: ["Issues"]
---

# Bulk fetch changelogs

`POST /rest/api/3/changelog/bulkfetch`

Bulk fetch changelogs for multiple issues and filter by fields

Returns a paginated list of all changelogs for given issues sorted by changelog date and issue IDs, starting from the oldest changelog and smallest issue ID.

Issues are identified by their ID or key, and optionally changelogs can be filtered by their field IDs. You can request the changelogs of up to 1000 issues and can filter them by up to 10 field IDs.

**[Permissions](#permissions) required:**

 *  *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the projects that the issues are in.
 *  If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is configured, issue-level security permission to view the issues.

## Request body

- BulkChangelogRequestBean — Request bean for bulk changelog retrieval
  - `fieldIds` string[] — List of field IDs to filter changelogs
  - `issueIdsOrKeys` string[], required — List of issue IDs/keys to fetch changelogs for
  - `maxResults` integer — The maximum number of items to return per page
  - `nextPageToken` string — The cursor for pagination

## Response `200`

Returned if the request is successful.

- BulkChangelogResponseBean — A page of changelogs which is designed to handle multiple issues
  - `issueChangeLogs` IssueChangeLog[] — The list of issues changelogs.
    - `changeHistories` Changelog[] — List of changelogs that belongs to given issueId.
      - `author` UserDetails — User details permitted by the user's Atlassian Account privacy settings. However, be aware of these exceptions: * User record deleted from Atlassian: This occurs as the result of a right to be forgotten request. In this case, `displayName` provides an indication and other parameters have default values or are blank (for example, email is blank). * User record corrupted: This occurs as a results of events such as a server import and can only happen to deleted users. In this case, `accountId` returns *unknown* and all other parameters have fallback values. * User record unavailable: This usually occurs due to an internal service outage. In this case, all parameters have fallback values.
        - `accountId` string — The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
        - `accountType` string — The type of account represented by this user. This will be one of 'atlassian' (normal users), 'app' (application user) or 'customer' (Jira Service Desk customer user)
        - `active` boolean — Whether the user is active.
        - `avatarUrls` AvatarUrlsBean
          - `16x16` string, uri — The URL of the item's 16x16 pixel avatar.
          - `24x24` string, uri — The URL of the item's 24x24 pixel avatar.
          - `32x32` string, uri — The URL of the item's 32x32 pixel avatar.
          - `48x48` string, uri — The URL of the item's 48x48 pixel avatar.
        - `displayName` string — The display name of the user. Depending on the user’s privacy settings, this may return an alternative value.
        - `emailAddress` string — The email address of the user. Depending on the user’s privacy settings, this may be returned as null.
        - `key` string — This property is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
        - `name` string — This property is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
        - `self` string — The URL of the user.
        - `timeZone` string — The time zone specified in the user's profile. Depending on the user’s privacy settings, this may be returned as null.
      - `created` string, date-time — The date on which the change took place.
      - `historyMetadata` HistoryMetadata — Details of issue history metadata.
        - `activityDescription` string — The activity described in the history record.
        - `activityDescriptionKey` string — The key of the activity described in the history record.
        - `actor` HistoryMetadataParticipant — Details of user or system associated with a issue history metadata item.
          - `avatarUrl` string — The URL to an avatar for the user or system associated with a history record.
          - `displayName` string — The display name of the user or system associated with a history record.
          - `displayNameKey` string — The key of the display name of the user or system associated with a history record.
          - `id` string — The ID of the user or system associated with a history record.
          - `type` string — The type of the user or system associated with a history record.
          - `url` string — The URL of the user or system associated with a history record.
        - `cause` HistoryMetadataParticipant — Details of user or system associated with a issue history metadata item.
          - `avatarUrl` string — The URL to an avatar for the user or system associated with a history record.
          - `displayName` string — The display name of the user or system associated with a history record.
          - `displayNameKey` string — The key of the display name of the user or system associated with a history record.
          - `id` string — The ID of the user or system associated with a history record.
          - `type` string — The type of the user or system associated with a history record.
          - `url` string — The URL of the user or system associated with a history record.
        - `description` string — The description of the history record.
        - `descriptionKey` string — The description key of the history record.
        - `emailDescription` string — The description of the email address associated the history record.
        - `emailDescriptionKey` string — The description key of the email address associated the history record.
        - `extraData` object — Additional arbitrary information about the history record.
        - `generator` HistoryMetadataParticipant — Details of user or system associated with a issue history metadata item.
          - `avatarUrl` string — The URL to an avatar for the user or system associated with a history record.
          - `displayName` string — The display name of the user or system associated with a history record.
          - `displayNameKey` string — The key of the display name of the user or system associated with a history record.
          - `id` string — The ID of the user or system associated with a history record.
          - `type` string — The type of the user or system associated with a history record.
          - `url` string — The URL of the user or system associated with a history record.
        - `type` string — The type of the history record.
      - `id` string — The ID of the changelog.
      - `items` ChangeDetails[] — The list of items changed.
        - `field` string — The name of the field changed.
        - `fieldId` string — The ID of the field changed.
        - `fieldtype` string — The type of the field changed.
        - `from` string — The details of the original value.
        - `fromString` string — The details of the original value as a string.
        - `to` string — The details of the new value.
        - `toString` string — The details of the new value as a string.
    - `issueId` string — The ID of the issue.
  - `nextPageToken` string — Continuation token to fetch the next page. If this result represents the last or the only page, this token will be null.

## Other responses

- `400` — Returned if there are input validation problems such as no issue IDs/keys were present, or more than 1000 issue IDs/keys were requested.

---

[API](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api-2.md) · [All operations](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-jira-cloud-platform-rest-api-2/versions/ec7f275dfee5/schema)
