Skip to content

Interface: ProjectWebhookPayload ​

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

A project changed. Undocumented; project is named after the entity.

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


project? ​

ts
optional project?: object;

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

Index Signature ​

ts
[key: string]: unknown

archived? ​

ts
optional archived?: boolean;

Whether the project is archived.

archivedBy? ​

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

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

archivedBy.accountType? ​
ts
optional accountType?: "unknown" | string & object | "atlassian" | "app" | "customer";

The user account type. Can take the following values:

  • atlassian regular Atlassian user account
  • app system account used for Connect applications and OAuth to represent external systems
  • customer Jira Service Desk account representing an external service desk
archivedBy.active? ​
ts
optional active?: boolean;

Whether the user is active.

archivedBy.applicationRoles? ​
ts
optional applicationRoles?: object;
Index Signature ​
ts
[key: string]: unknown
archivedBy.applicationRoles.callback? ​
ts
optional callback?: object;
Index Signature ​
ts
[key: string]: unknown
archivedBy.applicationRoles.items? ​
ts
optional items?: object[];
Index Signature ​
ts
[key: string]: unknown
archivedBy.applicationRoles.max-results? ​
ts
optional max-results?: number;
archivedBy.applicationRoles.pagingCallback? ​
ts
optional pagingCallback?: object;
Index Signature ​
ts
[key: string]: unknown
archivedBy.applicationRoles.size? ​
ts
optional size?: number;
archivedBy.appType? ​
ts
optional appType?: string;

The app type of the user account when accountType is 'app'. Can take the following values:

  • service Service Account
  • agent Rovo Agent Account
  • unknown Unknown app type
archivedBy.avatarUrls? ​
ts
optional avatarUrls?: object;
Index Signature ​
ts
[key: string]: unknown
archivedBy.avatarUrls.16x16? ​
ts
optional 16x16?: string;

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

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

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

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

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

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

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

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

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

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

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

archivedBy.expand? ​
ts
optional expand?: string;

Expand options that include additional user details in the response.

archivedBy.groups? ​
ts
optional groups?: object;
Index Signature ​
ts
[key: string]: unknown
archivedBy.groups.callback? ​
ts
optional callback?: object;
Index Signature ​
ts
[key: string]: unknown
archivedBy.groups.items? ​
ts
optional items?: object[];
Index Signature ​
ts
[key: string]: unknown
archivedBy.groups.max-results? ​
ts
optional max-results?: number;
archivedBy.groups.pagingCallback? ​
ts
optional pagingCallback?: object;
Index Signature ​
ts
[key: string]: unknown
archivedBy.groups.size? ​
ts
optional size?: number;
archivedBy.guest? ​
ts
optional guest?: boolean;

Whether the user is a guest.

archivedBy.locale? ​
ts
optional locale?: string;

The locale of the user. Depending on the user’s privacy setting, this may be returned as null.

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

The URL of the user.

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

The time zone specified in the user's profile. If the user's time zone is not visible to the current user (due to user's profile setting), or if a time zone has not been set, the instance's default time zone will be returned.

archivedDate? ​

ts
optional archivedDate?: Date;

The date when the project was archived.

assigneeType? ​

ts
optional assigneeType?: string & object | "PROJECT_LEAD" | "UNASSIGNED";

The default assignee when creating issues for this project.

avatarUrls? ​

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

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

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

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

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

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

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

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

components? ​

ts
optional components?: object[];

List of the components contained in the project.

Index Signature ​
ts
[key: string]: unknown

deleted? ​

ts
optional deleted?: boolean;

Whether the project is marked as deleted.

deletedBy? ​

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

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

deletedBy.accountType? ​
ts
optional accountType?: "unknown" | string & object | "atlassian" | "app" | "customer";

The user account type. Can take the following values:

  • atlassian regular Atlassian user account
  • app system account used for Connect applications and OAuth to represent external systems
  • customer Jira Service Desk account representing an external service desk
deletedBy.active? ​
ts
optional active?: boolean;

Whether the user is active.

deletedBy.applicationRoles? ​
ts
optional applicationRoles?: object;
Index Signature ​
ts
[key: string]: unknown
deletedBy.applicationRoles.callback? ​
ts
optional callback?: object;
Index Signature ​
ts
[key: string]: unknown
deletedBy.applicationRoles.items? ​
ts
optional items?: object[];
Index Signature ​
ts
[key: string]: unknown
deletedBy.applicationRoles.max-results? ​
ts
optional max-results?: number;
deletedBy.applicationRoles.pagingCallback? ​
ts
optional pagingCallback?: object;
Index Signature ​
ts
[key: string]: unknown
deletedBy.applicationRoles.size? ​
ts
optional size?: number;
deletedBy.appType? ​
ts
optional appType?: string;

The app type of the user account when accountType is 'app'. Can take the following values:

  • service Service Account
  • agent Rovo Agent Account
  • unknown Unknown app type
deletedBy.avatarUrls? ​
ts
optional avatarUrls?: object;
Index Signature ​
ts
[key: string]: unknown
deletedBy.avatarUrls.16x16? ​
ts
optional 16x16?: string;

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

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

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

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

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

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

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

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

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

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

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

deletedBy.expand? ​
ts
optional expand?: string;

Expand options that include additional user details in the response.

deletedBy.groups? ​
ts
optional groups?: object;
Index Signature ​
ts
[key: string]: unknown
deletedBy.groups.callback? ​
ts
optional callback?: object;
Index Signature ​
ts
[key: string]: unknown
deletedBy.groups.items? ​
ts
optional items?: object[];
Index Signature ​
ts
[key: string]: unknown
deletedBy.groups.max-results? ​
ts
optional max-results?: number;
deletedBy.groups.pagingCallback? ​
ts
optional pagingCallback?: object;
Index Signature ​
ts
[key: string]: unknown
deletedBy.groups.size? ​
ts
optional size?: number;
deletedBy.guest? ​
ts
optional guest?: boolean;

Whether the user is a guest.

deletedBy.locale? ​
ts
optional locale?: string;

The locale of the user. Depending on the user’s privacy setting, this may be returned as null.

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

The URL of the user.

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

The time zone specified in the user's profile. If the user's time zone is not visible to the current user (due to user's profile setting), or if a time zone has not been set, the instance's default time zone will be returned.

deletedDate? ​

ts
optional deletedDate?: Date;

The date when the project was marked as deleted.

description? ​

ts
optional description?: string;

A brief description of the project.

email? ​

ts
optional email?: string;

An email address associated with the project.

entityId? ​

ts
optional entityId?: string;

expand? ​

ts
optional expand?: string;

Expand options that include additional project details in the response.

favourite? ​

ts
optional favourite?: boolean;

Whether the project is selected as a favorite.

id? ​

ts
optional id?: string;

The ID of the project.

insight? ​

ts
optional insight?: object;
Index Signature ​
ts
[key: string]: unknown
insight.lastIssueUpdateTime? ​
ts
optional lastIssueUpdateTime?: Date;

The last issue update time.

insight.totalIssueCount? ​
ts
optional totalIssueCount?: number;

Total issue count.

isPrivate? ​

ts
optional isPrivate?: boolean;

Whether the project is private from the user's perspective. This means the user can't see the project or any associated issues.

issueTypeHierarchy? ​

ts
optional issueTypeHierarchy?: object;
Index Signature ​
ts
[key: string]: unknown
issueTypeHierarchy.levels? ​
ts
optional levels?: object[];

Details about the hierarchy level.

Index Signature ​
ts
[key: string]: unknown

issueTypes? ​

ts
optional issueTypes?: object[];

List of the issue types available in the project.

Index Signature ​
ts
[key: string]: unknown

key? ​

ts
optional key?: string;

The key of the project.

landingPageInfo? ​

ts
optional landingPageInfo?: object;
Index Signature ​
ts
[key: string]: unknown
landingPageInfo.attributes? ​
ts
optional attributes?: Record<string, string>;
landingPageInfo.boardId? ​
ts
optional boardId?: number;
landingPageInfo.boardName? ​
ts
optional boardName?: string;
landingPageInfo.projectKey? ​
ts
optional projectKey?: string;
landingPageInfo.projectType? ​
ts
optional projectType?: string;
landingPageInfo.queueCategory? ​
ts
optional queueCategory?: string;
landingPageInfo.queueId? ​
ts
optional queueId?: number;
landingPageInfo.queueName? ​
ts
optional queueName?: string;
landingPageInfo.simpleBoard? ​
ts
optional simpleBoard?: boolean;
landingPageInfo.simplified? ​
ts
optional simplified?: boolean;
landingPageInfo.url? ​
ts
optional url?: string;

lead? ​

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

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

lead.accountType? ​
ts
optional accountType?: "unknown" | string & object | "atlassian" | "app" | "customer";

The user account type. Can take the following values:

  • atlassian regular Atlassian user account
  • app system account used for Connect applications and OAuth to represent external systems
  • customer Jira Service Desk account representing an external service desk
lead.active? ​
ts
optional active?: boolean;

Whether the user is active.

lead.applicationRoles? ​
ts
optional applicationRoles?: object;
Index Signature ​
ts
[key: string]: unknown
lead.applicationRoles.callback? ​
ts
optional callback?: object;
Index Signature ​
ts
[key: string]: unknown
lead.applicationRoles.items? ​
ts
optional items?: object[];
Index Signature ​
ts
[key: string]: unknown
lead.applicationRoles.max-results? ​
ts
optional max-results?: number;
lead.applicationRoles.pagingCallback? ​
ts
optional pagingCallback?: object;
Index Signature ​
ts
[key: string]: unknown
lead.applicationRoles.size? ​
ts
optional size?: number;
lead.appType? ​
ts
optional appType?: string;

The app type of the user account when accountType is 'app'. Can take the following values:

  • service Service Account
  • agent Rovo Agent Account
  • unknown Unknown app type
lead.avatarUrls? ​
ts
optional avatarUrls?: object;
Index Signature ​
ts
[key: string]: unknown
lead.avatarUrls.16x16? ​
ts
optional 16x16?: string;

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

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

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

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

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

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

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

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

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

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

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

lead.expand? ​
ts
optional expand?: string;

Expand options that include additional user details in the response.

lead.groups? ​
ts
optional groups?: object;
Index Signature ​
ts
[key: string]: unknown
lead.groups.callback? ​
ts
optional callback?: object;
Index Signature ​
ts
[key: string]: unknown
lead.groups.items? ​
ts
optional items?: object[];
Index Signature ​
ts
[key: string]: unknown
lead.groups.max-results? ​
ts
optional max-results?: number;
lead.groups.pagingCallback? ​
ts
optional pagingCallback?: object;
Index Signature ​
ts
[key: string]: unknown
lead.groups.size? ​
ts
optional size?: number;
lead.guest? ​
ts
optional guest?: boolean;

Whether the user is a guest.

lead.locale? ​
ts
optional locale?: string;

The locale of the user. Depending on the user’s privacy setting, this may be returned as null.

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

The URL of the user.

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

The time zone specified in the user's profile. If the user's time zone is not visible to the current user (due to user's profile setting), or if a time zone has not been set, the instance's default time zone will be returned.

name? ​

ts
optional name?: string;

The name of the project.

permissions? ​

ts
optional permissions?: object;
Index Signature ​
ts
[key: string]: unknown
permissions.canEdit? ​
ts
optional canEdit?: boolean;

Whether the logged user can edit the project.

projectCategory? ​

ts
optional projectCategory?: object;
Index Signature ​
ts
[key: string]: unknown
projectCategory.description? ​
ts
optional description?: string;

The description of the project category.

projectCategory.id? ​
ts
optional id?: string;

The ID of the project category.

projectCategory.name? ​
ts
optional name?: string;

The name of the project category. Required on create, optional on update.

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

The URL of the project category.

projectTypeKey? ​

ts
optional projectTypeKey?: 
  | string & object
  | "software"
  | "service_desk"
  | "business"
  | "product_discovery"
  | "customer_service";

The project type of the project.

properties? ​

ts
optional properties?: Record<string, any>;

Map of project properties. Only the properties named in the request's properties query parameter are returned, so this is an empty object when that parameter is omitted.

retentionTillDate? ​

ts
optional retentionTillDate?: Date;

The date when the project is deleted permanently.

roles? ​

ts
optional roles?: Record<string, string>;

The name and self URL for each role defined in the project. For more information, see Create project role.

self? ​

ts
optional self?: string;

The URL of the project details.

simplified? ​

ts
optional simplified?: boolean;

Whether the project is simplified.

style? ​

ts
optional style?: "classic" | string & object | "next-gen";

The type of the project.

url? ​

ts
optional url?: string;

A link to information about this project, such as project documentation.

uuid? ​

ts
optional uuid?: string;

Unique ID for next-gen projects.

versions? ​

ts
optional versions?: object[];

The versions defined in the project. For more information, see Create version.

Index Signature ​
ts
[key: string]: unknown

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: ProjectWebhookEvent;

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

The event, and the field to switch on.

Overrides ​

WebhookPayloadBase.webhookEvent