Details of a worklog.

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

Hierarchy (view full)

Properties

comment?: string

A comment about the worklog. 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.

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.

updated?: string

The datetime on which the worklog was last updated.