---
title: "Get worklogs by issue id and worklog id"
method: POST
path: "/rest/internal/api/latest/worklog/bulk"
---

# Get worklogs by issue id and worklog id

`POST /rest/internal/api/latest/worklog/bulk`

Returns worklog details for a list of issue ID and worklog ID pairs.

This is an internal API for bulk fetching worklogs by their issue and worklog IDs. Worklogs that don't exist will be filtered out from the response.

The returned list of worklogs is limited to 1000 items.

**[Permissions](#permissions) required:** This is an internal service-to-service API that requires ASAP authentication. No user permission checks are performed as this bypasses normal user context.

## Request body

- BulkWorklogKeyRequestBean
  - `requests` WorklogCompositeKey[] — A list of issue and worklog ID pairs.
    - `issueId` integer — The issue ID.
    - `worklogId` integer — The worklog ID.

## Response `200`

Returned if the request is successful.

- BulkWorklogKeyResponseBean
  - `worklogs` WorklogKeyResult[] — A list of successfully retrieved worklogs with their issue and worklog IDs.
    - `issueId` integer — The issue ID.
    - `worklogId` integer — The worklog ID.

## Other responses

- `400` — Returned if the request contains more than 1000 worklog pairs, is empty, or has invalid format.
- `401` — Returned if the authentication credentials are incorrect or missing.
- `500` — Returned if there is an internal server error.

---

[API](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api.md) · [All operations](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/atlassian/the-jira-cloud-platform-rest-api/revisions/7e9af75061ea/schema)
