Skip to content

Interface: WorklogWebhookPayload ​

Defined in: src/webhooks/payloads.ts:100

Work was logged, edited or removed. Undocumented; worklog is named after the entity, not from a specification.

Extends ​

Properties ​

matchedWebhookIds? ​

ts
optional matchedWebhookIds?: number[];

Defined in: src/webhooks/payloads.ts:59

The registrations this delivery answered. Present only on a webhook registered through the REST API, where one event can match several of them at once.

Inherited from ​

WebhookPayloadBase.matchedWebhookIds


timestamp ​

ts
timestamp: number;

Defined in: src/webhooks/payloads.ts:50

When Jira raised the event, in milliseconds since the epoch.

Inherited from ​

WebhookPayloadBase.timestamp


webhookEvent ​

ts
webhookEvent: WorklogWebhookEvent;

Defined in: src/webhooks/payloads.ts:101

The event, and the field to switch on.

Overrides ​

WebhookPayloadBase.webhookEvent


worklog? ​

ts
optional worklog?: object;

Defined in: src/webhooks/payloads.ts:102

Index Signature ​

ts
[key: string]: unknown

author? ​

ts
optional author?: object;
Index Signature ​
ts
[key: string]: unknown
author.accountId? ​
ts
optional accountId?: string;

The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.

author.accountType? ​
ts
optional accountType?: string;

The 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)

author.active? ​
ts
optional active?: boolean;

Whether the user is active.

author.avatarUrls? ​
ts
optional avatarUrls?: object;
Index Signature ​
ts
[key: string]: unknown
author.avatarUrls.16x16? ​
ts
optional 16x16?: string;

The URL of the item's 16x16 pixel avatar.

author.avatarUrls.24x24? ​
ts
optional 24x24?: string;

The URL of the item's 24x24 pixel avatar.

author.avatarUrls.32x32? ​
ts
optional 32x32?: string;

The URL of the item's 32x32 pixel avatar.

author.avatarUrls.48x48? ​
ts
optional 48x48?: string;

The URL of the item's 48x48 pixel avatar.

author.displayName? ​
ts
optional displayName?: string;

The display name of the user. Depending on the user’s privacy settings, this may return an alternative value.

author.emailAddress? ​
ts
optional emailAddress?: string;

The email address of the user. Depending on the user’s privacy settings, this may be returned as null.

author.self? ​
ts
optional self?: string;

The URL of the user.

author.timeZone? ​
ts
optional timeZone?: string;

The time zone specified in the user's profile. Depending on the user’s privacy settings, this may be returned as null.

comment? ​

ts
optional comment?: object;

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

Index Signature ​
ts
[key: string]: unknown
comment.content ​
ts
content: Record<string, any>[];
comment.type ​
ts
type: string & object | "doc";
comment.version ​
ts
version: number;

created? ​

ts
optional created?: Date;

The datetime on which the worklog was created.

id? ​

ts
optional id?: string;

The ID of the worklog record.

issueId? ​

ts
optional issueId?: string;

The ID of the issue this worklog is for.

properties? ​

ts
optional properties?: object[];

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

Index Signature ​
ts
[key: string]: unknown

self? ​

ts
optional self?: string;

The URL of the worklog item.

started? ​

ts
optional started?: Date;

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

timeSpent? ​

ts
optional 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? ​

ts
optional 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? ​

ts
optional updateAuthor?: object;
Index Signature ​
ts
[key: string]: unknown
updateAuthor.accountId? ​
ts
optional accountId?: string;

The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.

updateAuthor.accountType? ​
ts
optional accountType?: string;

The 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)

updateAuthor.active? ​
ts
optional active?: boolean;

Whether the user is active.

updateAuthor.avatarUrls? ​
ts
optional avatarUrls?: object;
Index Signature ​
ts
[key: string]: unknown
updateAuthor.avatarUrls.16x16? ​
ts
optional 16x16?: string;

The URL of the item's 16x16 pixel avatar.

updateAuthor.avatarUrls.24x24? ​
ts
optional 24x24?: string;

The URL of the item's 24x24 pixel avatar.

updateAuthor.avatarUrls.32x32? ​
ts
optional 32x32?: string;

The URL of the item's 32x32 pixel avatar.

updateAuthor.avatarUrls.48x48? ​
ts
optional 48x48?: string;

The URL of the item's 48x48 pixel avatar.

updateAuthor.displayName? ​
ts
optional displayName?: string;

The display name of the user. Depending on the user’s privacy settings, this may return an alternative value.

updateAuthor.emailAddress? ​
ts
optional emailAddress?: string;

The email address of the user. Depending on the user’s privacy settings, this may be returned as null.

updateAuthor.self? ​
ts
optional self?: string;

The URL of the user.

updateAuthor.timeZone? ​
ts
optional timeZone?: string;

The time zone specified in the user's profile. Depending on the user’s privacy settings, this may be returned as null.

updated? ​

ts
optional updated?: Date;

The datetime on which the worklog was last updated.

visibility? ​

ts
optional visibility?: object;
Index Signature ​
ts
[key: string]: unknown
visibility.identifier? ​
ts
optional identifier?: string | null;

The ID of the group or the name of the role that visibility of this item is restricted to.

visibility.type? ​
ts
optional type?: "role" | "group" | string & object;

Whether visibility of this item is restricted to a group or role.

visibility.value? ​
ts
optional value?: string;

The 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.