POST/projects/api/v3/workflows/{workflowId}/stages/{stageId}/tasks.json

Add tasks into stage.

Add all provided tasks to the workflow's stage.

Path Params

  • Name
    workflowId
    Type
    integer
    required
    Description
  • Name
    stageId
    Type
    integer
    required
    Description

Body Params

BulkAddTasksRequest contains the ids of the tasks that should be added to the stage.

    • Name
      options
      Type
      object
    • Name
      taskIds
      Type
      array

    Responses

    • Code
      204
      Description
      204 No Content No Data
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      403
      Type
      object
      Schema
      Description
      403 Forbidden
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      404
      Description
      404 Not Found No Data
    • Code
      409
      Type
      object
      Schema
      Description
      409 Conflict
      ErrorResponse defines how []Error should be marshaled to JSON.

    Examples

    400 Bad Request

    ErrorResponse
    {
      "errors": [
        {
          "code": "string",
          "detail": "string",
          "id": "string",
          "meta": {},
          "title": "string"
        }
      ]
    }