Function: getWorklogsForIds()
ts
function getWorklogsForIds(
client,
parameters,
options?
): Promise<object[]>;Defined in: src/cloud/api/issueWorklogs.ts:306
Returns worklog details for a list of worklog IDs.
The returned list of worklogs is limited to 1000 items.
Permissions required: Permission to access Jira, however, worklogs are only returned where either of the following is true:
- The worklog is set as Viewable by All Users.
- The user is a member of a project role or group with permission to view the worklog.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { expand?: | "properties" | string & object | ("properties" | string & object)[]; ids: number[]; } | - |
parameters.expand? | | "properties" | string & object | ("properties" | string & object)[] | Use expand to include additional information about worklogs in the response. This parameter accepts properties that returns the properties of each worklog. |
parameters.ids? | number[] | A list of worklog IDs. |
options? | RequestOptions | - |
Returns
Promise<object[]>