Skip to main content

JobRoleUpdate

🏷️ Event topic: job_role_update.

Triggered when a job role is created, updated or deleted on the board, once that change has been published.

Exactly one of isCreation, isUpdate and isDeletion is set. Creating or deleting a job also triggers this event for each of its roles.

Data​

interface EventJobRoleUpdate {
// Board, job and role information
boardId: number;
boardOid: ObjectID;
jobId: number;
jobOid: ObjectID;
roleId: number;
roleOid: ObjectID;

// Type of the change
isCreation: boolean;
isUpdate: boolean;
isDeletion: boolean;
}