makeplane / makeplane/plane

[bug]: Plane API: expand query parameter does not work with "updated_by" on "projects"

Open
#4,639 1 comment 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

🐛bug
Dominant language
TypeScript
Stars
59.6k
Forks
5.8k
Avg merge
1d 22h
Merged PRs (30d)
49

Description

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

When I fetch all projects with

fetch('https://api.plane.so/api/v1/workspaces/{slug}/projects/', {
 query: { expand: "created_by,updated_by,project_lead" },
})

All is working good except for "updated_by".
Here is an extract of the result:

image

As you can see, "created_by" expands well but not "udapted_by".

Steps to reproduce
  1. Create a fetch query with property expand: "created_by,updated_by,project_lead"
  2. Fetch all projects with the query
  3. You cannot get "updated_by" to be expanded
Environment

Production

Browser

None

Variant

Self-hosted

Version

v0.19.0-dev

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.