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

Đang mở
#10,350 1 bình luận 0 reaction 2 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@vihar đang làm issue này rồi.

Từ ngày 18/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

🐛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

Ngôn ngữ chính
TypeScript
Star
63k
Fork
6.5k
Merge trung bình
2 ngày 16 giờ
Pull request đã merge (30 ngày)
70

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của makeplane/plane

Tất cả issue của makeplane/plane

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.