Jira.js - Jira Cloud API library
    Preparing search index...

    Interface Worklog

    Details of a worklog.

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

    Properties

    comment?: Document

    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.

    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.