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

Aperta
#10,350 1 commento 0 reazioni 2 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@vihar ci sta già lavorando.

Dal 18/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

🐛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

Lingua principale
TypeScript
Stelle
63k
Fork
6.5k
Merge medio
2g 16h
PR unite (30g)
70

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di makeplane/plane

Tutte le issue di makeplane/plane

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.