OptionaladjustEstimate?: "auto" | "manual" | "new" | string & {} | "leave"Defines how to update the issue's time estimate, the options are:
new Sets the estimate to a specific value, defined in newEstimate.leave Leaves the estimate unchanged.auto Updates the estimate by the difference between the original and updated value of timeSpent or
timeSpentSeconds.Optionalauthor?: {OptionalaccountId?: stringThe account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.
OptionalaccountType?: stringThe type of account represented by this user. This will be one of 'atlassian' (normal users), 'app' (application user) or 'customer' (Jira Service Desk customer user)
Optionalactive?: booleanWhether the user is active.
OptionalavatarUrls?: {Optional16x16?: stringThe URL of the item's 16x16 pixel avatar.
Optional24x24?: stringThe URL of the item's 24x24 pixel avatar.
Optional32x32?: stringThe URL of the item's 32x32 pixel avatar.
Optional48x48?: stringThe URL of the item's 48x48 pixel avatar.
OptionaldisplayName?: stringThe display name of the user. Depending on the user’s privacy settings, this may return an alternative value.
OptionalemailAddress?: stringThe email address of the user. Depending on the user’s privacy settings, this may be returned as null.
Optionalself?: stringThe URL of the user.
OptionaltimeZone?: stringThe time zone specified in the user's profile. Depending on the user’s privacy settings, this may be returned as null.
Optionalcomment?: A document in Atlassian Document Format, or a string of wiki markup — a string is sent to the v2 endpoint that parses it, and the result is read back as a document.
Optionalcreated?: unknownThe datetime on which the worklog was created.
Optionalid?: stringThe ID of the worklog record.
OptionalissueId?: stringThe ID of the issue this worklog is for.
Optionalproperties?: { key?: string; value?: unknown; [key: string]: unknown }[]Details of properties for the worklog. Optional when creating or updating a worklog.
Optionalself?: stringThe URL of the worklog item.
Optionalstarted?: unknownThe datetime on which the worklog effort was started. Required when creating a worklog. Optional when updating a worklog.
OptionaltimeSpent?: stringThe 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.
OptionaltimeSpentSeconds?: numberThe 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.
OptionalupdateAuthor?: {OptionalaccountId?: stringThe account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.
OptionalaccountType?: stringThe type of account represented by this user. This will be one of 'atlassian' (normal users), 'app' (application user) or 'customer' (Jira Service Desk customer user)
Optionalactive?: booleanWhether the user is active.
OptionalavatarUrls?: {Optional16x16?: stringThe URL of the item's 16x16 pixel avatar.
Optional24x24?: stringThe URL of the item's 24x24 pixel avatar.
Optional32x32?: stringThe URL of the item's 32x32 pixel avatar.
Optional48x48?: stringThe URL of the item's 48x48 pixel avatar.
OptionaldisplayName?: stringThe display name of the user. Depending on the user’s privacy settings, this may return an alternative value.
OptionalemailAddress?: stringThe email address of the user. Depending on the user’s privacy settings, this may be returned as null.
Optionalself?: stringThe URL of the user.
OptionaltimeZone?: stringThe time zone specified in the user's profile. Depending on the user’s privacy settings, this may be returned as null.
Optionalupdated?: unknownThe datetime on which the worklog was last updated.
Optionalvisibility?: {Optionalidentifier?: string | nullThe ID of the group or the name of the role that visibility of this item is restricted to.
Optionaltype?: "role" | "group" | string & {}Whether visibility of this item is restricted to a group or role.
Optionalvalue?: stringThe name of the group or role that visibility of this item is restricted to. Please note that the name of a group
is mutable, to reliably identify a group use identifier.
Optionalexpand?: string | string[] | string & {} | ("properties" | string & {})[]Use expand to include additional
information about worklogs in the response. This parameter accepts properties, which returns worklog properties.
The ID of the worklog.
The ID or key the issue.
OptionalnewEstimate?: stringThe value to set as the issue's remaining time estimate, as days (#d), hours (#h), or minutes (#m or #). For
example, 2d. Required when adjustEstimate is new.
OptionalnotifyUsers?: booleanWhether users watching the issue are notified by email.
OptionaloverrideEditableFlag?: booleanWhether the worklog should be added to the issue even if the issue is not editable. For example, because the issue is closed. Connect and Forge app users with Administer Jira global permission can use this flag.
Optionaloptions: RequestOptions
Updates a worklog.
Time tracking must be enabled in Jira, otherwise this operation returns an error. For more information, see Configuring time tracking.
This operation can be accessed anonymously.
Permissions required: