A worklog entry on a Jira issue.

interface JiraWorklog {
    author?: JiraUser;
    comment?: string;
    created: string;
    id: string;
    issueId: string;
    self: string;
    started: string;
    timeSpent: string;
    timeSpentSeconds: number;
    updateAuthor?: JiraUser;
    updated: string;
    visibility?: { type: "role" | "group"; value: string };
}

Properties

author?: JiraUser

User who created the worklog

comment?: string

Comment / description of work done

created: string

ISO 8601 date the worklog was created

id: string

Numeric string ID of the worklog

issueId: string

Numeric string ID of the issue

self: string

URL of the worklog resource

started: string

ISO 8601 date/time when the work was started

timeSpent: string

Time spent in Jira notation (e.g. '3h 30m')

timeSpentSeconds: number

Time spent in seconds

updateAuthor?: JiraUser

User who last updated the worklog

updated: string

ISO 8601 date the worklog was last updated

visibility?: { type: "role" | "group"; value: string }

Visibility restriction