Tasks

Создать workflow-статус

Changed on

Этап раздела меняет владелец или совладелец его проекта либо право «Управлять всеми проектами» (tasks:admin), открывающее проект, общий этап кабинета (без section) — только это право без ограничения области (ERP-2896); иначе 403 tasks.project_manage_forbidden или tasks.shared_catalog_forbidden (ERP-1871).

post/api/v1/tasks/statuses

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Request body

StatusCreate required
section, string uuid
name, string required
category, 'backlog' | 'todo' | 'in_progress' | 'review' | 'done' | 'cancelled'
color, string
order, integer
is_default, boolean
is_final, boolean

Response

Созданный статус

Status required
id, string uuid required
section, string uuid nullable required
name, string required
category, 'backlog' | 'todo' | 'in_progress' | 'review' | 'done' | 'cancelled' required
order, integer required
color, string required
is_default, boolean required
is_final, boolean required
can_manage, boolean required

Может ли текущий пользователь менять, удалять и переставлять этап: этап раздела — владелец или совладелец проекта, общий этап — полный доступ по кабинету.

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    5 more changes in this revision