Skip to content

asset.issue.created

Python model

AssetIssueCreatedEvent — from kili_events import AssetIssueCreatedEvent

Description

This event is raised once Kili backend successfully creates an issue.

Properties

event

  • Required
  • The name of the event.
  • Constant value: "asset.issue.created"

project_id

  • Required
  • Type: string
  • Id of the project in which the issue was created.

user_id

  • Required
  • Type: string
  • Id of the user who created the issue.

organization_id

  • Required
  • Type: string
  • Id of the organization in which the issue was created. For project related event, it references the project author organization.

payload

  • Required
  • Type: object
  • Properties
    • issue_id
      • Required
      • Type: string
      • Id of the newly created issue.
    • asset_id
      • Required
      • Type: string
      • Id of the asset related to the newly created issue.
    • assignee_id
      • Type: string
      • Id of the user to whom the newly created issue is assigned.
    • external_id
      • Required
      • Types: string, null
      • External id of the asset related to the newly created issue.
    • object_mid
      • Type: string
      • Mid of the created issue is assigned.

event

  • Required
  • The name of the event.
  • Constant value: "asset.issue.created"

projectId

  • Required
  • Type: string
  • Id of the project in which the issue was created.

userId

  • Required
  • Type: string
  • Id of the user who created the issue.

organizationId

  • Required
  • Type: string
  • Id of the organization in which the issue was created. For project related event, it references the project author organization.

payload

  • Required
  • Type: object
  • Properties
    • issueId
      • Required
      • Type: string
      • Id of the newly created issue.
    • assetId
      • Required
      • Type: string
      • Id of the asset related to the newly created issue.
    • assigneeId
      • Type: string
      • Id of the user to whom the newly created issue is assigned.
    • externalId
      • Required
      • Types: string, null
      • External id of the asset related to the newly created issue.
    • objectMid
      • Type: string
      • Mid of the created issue is assigned.