Repository navigation
Filter Jira preset views by multiple workflow statuses - #28623
Merged
Merged
Conversation
8 of 9 tasks
nwparker
force-pushed
the
nwparker/jira-saved-views
branch
from
October 14, 2026 10:02
787356d to
46c6cff
Compare
nwparker
force-pushed
the
nwparker/jira-status-filters
branch
from
October 14, 2026 10:05
ecf8d25 to
05c7e40
Compare
nwparker
force-pushed
the
nwparker/jira-saved-views
branch
from
October 14, 2026 10:15
46c6cff to
0749a04
Compare
nwparker
force-pushed
the
nwparker/jira-status-filters
branch
from
October 14, 2026 10:19
05c7e40 to
7b9b2c4
Compare
nwparker
force-pushed
the
nwparker/jira-saved-views
branch
2 times, most recently
from
October 14, 2026 10:34
84411c8 to
bba51a7
Compare
nwparker
force-pushed
the
nwparker/jira-status-filters
branch
from
October 14, 2026 10:36
7b9b2c4 to
829228b
Compare
Co-authored-by: Brennan Benson <[email protected]>
nwparker
force-pushed
the
nwparker/jira-status-filters
branch
from
October 14, 2026 10:45
829228b to
a748b34
Compare
8 of 9 tasks
This was referenced Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
Click one or more Jira statuses to show only that work, without writing a query. The selection combines with Assigned, Reported, All Open, or Done and returns after restart. The resulting query is visible and can be opened for editing.
What Changed
The Jira header now offers status chips derived from loaded issues, ordered by category and name. Before, narrowing a preset required manual JQL. Multiple selected statuses now form an OR condition inside the existing host-side preset query. Cloud All Open keeps its complete project discovery and bounded searches; it never becomes an unrestricted text search. Typed and saved JQL stay under manual control, with chips hidden until the search is cleared.
Selection persists on the Jira execution host through separate UI methods, outside the strict resume schema. State reads and writes resolve the selected source context or the page’s captured account host into an explicit target. List requests reuse the same transport body with their captured source target; the original wrapper remains for older callers. Unresolved owners cannot write locally, and callbacks retained from a previous owner are ignored. A negotiated capability prevents an older host from silently dropping status predicates. Cache keys distinguish selections, writes wait for acknowledgment, and replies from a previous host cannot replace the current selection. Lifetime activation happens after commit, so retained actions across A → B → A and unmounts are rejected without mutating refs during render; an old reply cannot clear a new visit’s pending state. Selected chips and Clear remain available even when the current result page does not contain that status.
Why
This adapts the status-chip interaction and catalog behavior from #6734, by Brennan Benson, credited in the commit trailer. Server-side composition keeps results accurate beyond the loaded page. The optional preset-filter argument preserves Cloud bounds, and separate host UI methods avoid older hosts rejecting new strict resume fields. A read-only preview plus Edit as JQL gives users an editable query without constantly rewriting their input.
Linked Issue
Fixes #5669
Saved-query prerequisite #28600 and Cloud preset prerequisite #28579 have merged; this PR now targets main. The existing-code clock correction tracked by #28593 is present in the refreshed main base.
Visual Proof
Synthetic Jira responses and a labeled persistence fixture, production controls and state hooks, rendered through Playwright CDP in an Electron window created with
show: false. The window stayed hidden and unfocused. Actual host persistence and query routing are covered separately.Before:

After selecting In Progress and Blocked in All Open:

Testing
The final source
a748b34is based on landed saved-query maind7315af4, where Cloud and linked-workspace prerequisites are also present. All eight unique workflow-filter feature/correction commits are unchanged by the final rebase; it contains only those commits and preserves checked saved-query application. Its unique commits retain status-query typing and explicit owner routing; the copied saved-owner patch was removed because it is already in #28600. On macOS with background launch enabled and at most two workers, all 361 tests across 30 files pass, covering host search, persisted saved/status state, query/RPC/runtime contracts, hook/component interactions, list effects, cache isolation, and both CLI Jira contract suites. The strict-read flag keeps its existing fourth position in core/runtime list calls, and optional status filters follow it. Native UI calls supply false for strict; RPC accepts and forwards both optional fields. The combined status-query and RPC contracts verify this composition without weakening strict site admission.One added regression fails against the prior hook because a retained A action still sends a write after A → B → A. Two further regressions verify that old success/error settlements cannot clear a new visit’s pending state. Linked mode hides both status chips and JQL preview without clearing the selected statuses. Linked reads retain their error handling and bypass status query composition; the catalog updates only for ordinary preset reads. A small Jira-only capability module preserves existing exports and advertised capability strings while keeping the protocol file below its line limit.
The full changed-code gate passes for 43 source files with zero findings. The dedicated CI React Doctor runner reports no issues after moving lifetime activation into layout effects and using a finally block for loading. Strict request validation uses Zod 4 strictObject without changing accepted inputs. Formatting across all 48 changed files, lint, anti-slop, focus-read, RPC catalog, and runtime-English catalog checks pass.
Earlier hidden Electron proof exercised multiple selection, preset composition, reload restoration, Edit as JQL, manual input, and clearing; the screenshots above are preserved. Actual-profile tests separately cover persistence. The final correction was hook-tested and independently reviewed. The coordinator passed node and web typechecks on exact source
a748b34, with stable source hashes before and after. CI is recorded separately and is not claimed green. No full/release build, real Jira, Linux, Windows, phone, or SSH server was exercised for this correction.AI Disclosure
Review
Self-reviewed host ownership, request compatibility, bounded input, query escaping, cache separation, stale-response handling, and the transition between preset and manual-query modes.
Agent skill upstream boundary
Notes
Merge risk: Low for the scoped change; coordinated exact-source node and web typechecks passed; the fresh CI result is recorded separately and is not claimed green. The feature adds a persisted host field and optional list arguments across IPC/RPC. Capability checks block unsupported status requests; existing requests keep their previous shape and no stream frames change. Selection is bounded to 50 names of 128 characters each. SSH and folder workspaces follow existing Jira source routing; mobile UI methods explicitly route to the execution host. No platform-specific paths, shortcuts, command execution, credentials, or Git-provider behavior changed. Real Jira, Windows, Linux, a phone, and an SSH server were not exercised locally.
The available chip catalog reflects loaded issues, so statuses absent from that page may appear only after a broader view is loaded. A restored selection always remains visible and can be cleared. A status that exists on only one connected site can still produce a per-site Jira error through the existing partial-success behavior.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (focused checks above; broad validation and packaging remain for coordinated checks/CI)