Workflow Rules

Upsert workflow rule

Changed on

Create a workflow rule, or update the target column of the existing rule for the same integration and event.

put/workflow-rule/{projectId}

Request

  • Base URL
    https://cloud.kaneo.app/api
  • URL
    https://cloud.kaneo.app/api/workflow-rule/{projectId}
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Request body

integrationTypestring required
eventType'branch_push' | 'pr_opened' | 'pr_merged' | 'issue_opened' | 'issue_closed' | 'issue_reopened' required
columnIdstring required

Response

The created or updated rule

idstring required
projectIdstring required
integrationTypestring required
eventTypestring required
columnIdstring required
createdAtstring date-time required
updatedAtstring date-time required

Changes

    • breaking

      request property was restricted to a list of enum values

    • info

      added the new branch_push enum value to the request property

    • info

      added the new issue_closed enum value to the request property

    • info

      added the new issue_opened enum value to the request property

    • info

      added the new issue_reopened enum value to the request property

    • info

      added the new pr_merged enum value to the request property

    • info

      added the new pr_opened enum value to the request property

    • info

      added the non-success response with the status