Details of a worklog.

interface Worklog {
    author?: UserDetails;
    comment?: unknown;
    created?: string;
    id?: string;
    issueId?: string;
    properties?: EntityProperty[];
    self?: string;
    started?: string;
    timeSpent?: string;
    timeSpentSeconds?: number;
    updateAuthor?: UserDetails;
    updated?: string;
    visibility?: Visibility;
}

Hierarchy

  • Record<string, unknown>
    • Worklog

Properties

author?: UserDetails

Details of the user who created the worklog.

comment?: unknown

A comment about the worklog in Atlassian Document Format. Optional when creating or updating a worklog.

created?: string

The datetime on which the worklog was created.

id?: string

The ID of the worklog record.

issueId?: string

The ID of the issue this worklog is for.

properties?: EntityProperty[]

Details of properties for the worklog. Optional when creating or updating a worklog.

self?: string

The URL of the worklog item.

started?: string

The datetime on which the worklog effort was started. Required when creating a worklog. Optional when updating a worklog.

timeSpent?: string

The time spent working on the issue as days (#d), hours (#h), or minutes (#m or #). Required when creating a worklog if timeSpentSeconds isn't provided. Optional when updating a worklog. Cannot be provided if timeSpentSecond is provided.

timeSpentSeconds?: number

The time in seconds spent working on the issue. Required when creating a worklog if timeSpent isn't provided. Optional when updating a worklog. Cannot be provided if timeSpent is provided.

updateAuthor?: UserDetails

Details of the user who last updated the worklog.

updated?: string

The datetime on which the worklog was last updated.

visibility?: Visibility

Details about any restrictions in the visibility of the worklog. Optional when creating or updating a worklog.