🚀 Feature: Add "is not" operator to work item filters
维护者通常 1 天内回复
@harshdubey1234 已经在做这个了。
开始于 2026年11月17日。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 56/100
调研方向
Start by tracing the filter expression types and filter store, then read the work item filter adapter and the API filter backend at apps/api/plane/utils/filters/filter_backend.py. The issue names the missing pieces: operator labels, payload parsing, NOT group wrapping, and adapter support. Check how existing filter tests cover these paths and add tests for single-value and multi-select negation; done means both forms produce and apply the intended NOT filters.
由索引模型根据 Issue 内容生成。
描述
Is there an existing issue for this?
- I have searched the existing issues
Summary
Add an "is not" operator (and "is none of" for multi-select) to the work item filters. Today the operator dropdown only offers "is", "is any of" and "between", so there is no way to express "everything except X", for example all work items whose state is not Closed.
Why should this be worked on?
Excluding a value currently means ticking every other value by hand with "is any of", and re-doing it whenever a new state, label or member is added. Hiding closed or cancelled work is a very common need.
The groundwork already seems to exist in the community edition:
- The API filter backend already evaluates
{"not": {...}}nodes (apps/api/plane/utils/filters/filter_backend.py). - The filter expression types already define a NOT group.
- The frontend has
allowNegative,negOperatorLabel,NEGATED_OPERATOR_LABELS_MAPand anisNegationargument threaded through the filter store, but they are currently stubbed out (allowNegative: false, an empty negated labels map,getOperatorForPayloadalways returningisNegation = false, and the work item filter adapter only converting AND groups).
Question
Is negation intentionally held back from the community edition? If it is not, I would be glad to contribute a PR that wires up the existing scaffolding (labels, getOperatorForPayload, wrapping a condition in a NOT group in the store, and NOT support in the work item filter adapter) with tests. If it is reserved for a paid edition, I will not pursue it.
- 主要语言
- TypeScript
- 星标
- 63k
- 派生
- 6.5k
- 平均合并
- 2 天 16 小时
- 30 天内合并 PR
- 70
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
makeplane/plane 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
[bug]: Comment external_id is deduplicated per project instead of per work item可能已有人在做 @MishraTanishq619 于 21 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
makeplane/plane#10195 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Missing optional chaining on actor_details and reaction_items in apps/space reactions and votes可能已有人在做 @ghazy2001 于 29 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
makeplane/plane#10111 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
makeplane/plane#10082 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
good first issue help wanted
难度 2/5 1 小时以内 新手友好度 86/100
Intelligenza-Umana/intelligenza-umana-web#16 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
open-webui/open-webui#35184 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
danielmiessler/LifeOS#3001 ·
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复