[bug]: Plane Cloud: project create with project_lead returns 400 and leaves an orphan project with no states (regression of #8966?)

Abierto
#10,350 1 comentario 0 reacciones 2 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@vihar ya está trabajando en esto.

Desde el 18/11/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

🐛bug plane
Is there an existing issue for this?
  • I have searched the existing issues
Current behavior

Through the hosted Plane MCP server (project tool, create action),
which calls POST /api/v1/workspaces/{slug}/projects/, creating a project
with a project_lead on Plane Cloud returns:

  400 {"error": "Please provide valid detail"}

The project is still created, but it has no workflow states, so work
items can't be given a state until someone adds states by hand. Trying
the create again then fails with:

  409 identifier: The project identifier is already taken

This matches the behavior described and fixed in #8966 (merged 2026-05-14),
so either that fix has not reached Plane Cloud or it has regressed.

Expected: the create either succeeds and seeds the default states with the
lead set, or fails atomically and leaves no project behind (#8966 also added
transaction.atomic() around the post-save side effects).

Steps to reproduce

Client: hosted Plane MCP server (https://mcp.plane.so/http/mcp), OAuth,
tool project, action create. Observed 2026-11-18, 22:28–22:47 UTC.

  1. Create a project with name, identifier, and project_lead set to the
    workspace owner's member id (the same user making the request).
    Optional fields (description, timezone, network) make no difference.
  2. Response: HTTP 400 "Please provide valid detail".
  3. List projects: the project exists.
  4. List states for that project: 0 states.
  5. Create again with the same identifier: 409 identifier already taken.

Control, same workspace and token, a few minutes later:

  1. Create a project with only name and identifier.
  2. Success. Listing states returns the five defaults
    (Backlog, Todo, In Progress, Done, Cancelled).

With project_lead: reproduced 4 of 4. Without: succeeded 1 of 1.

Workaround: create without project_lead, then set the lead with a project
update.

Two other things I saw, which I think are separate issues:

  • network is ignored on create (#9576). Projects came back with
    network: 2 (public) even when the request sent 0. A later PATCH
    with network: 0 did work on Cloud.
  • New projects came back with cycle_view and module_view set to
    false. The control project that created cleanly had them off too, so
    this is probably just the API's default.
Environment

Production

Browser

Other

Edition

Cloud

Version

latest

Lenguaje dominante
TypeScript
Estrellas
63k
Forks
6.5k
Merge medio
2 d 16 h
PR fusionados (30 d)
70

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de makeplane/plane

Todos los issues de makeplane/plane

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.