Skip to content

View Jira work on a board and filter the current sprint - #28633

Merged
nwparker merged 7 commits into
mainfrom
nwparker/jira-board-sprint
Oct 14, 2026
Merged

nwparker merged 7 commits into
mainfrom
nwparker/jira-board-sprint

Conversation

@nwparker

@nwparker nwparker commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 21 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2062 $\color{#cf222e}{\Huge{\mathbf{−}}}$​265 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1797
Prod 26 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1481 $\color{#cf222e}{\Huge{\mathbf{−}}}$​64 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1417

ELI5

See Jira issues as cards in workflow columns, narrow them to the current sprint, and move a card through the status changes Jira actually permits.

What Changed

List and Board share the loaded issues, planning columns, saved query, status filters, source/site, detail preview, and workspace actions. Configured columns remain visible when empty; older hosts without column names use populated status lanes.

Drag or the keyboard Move menu selects an available Jira workflow action and collects its required fields. Board and detail saves use the same mutation queue, so an earlier rejected detail edit cannot undo a later board move. A successful required-comment move refreshes an already-open detail timeline; rejection retains the comment draft and retry. Column metadata and pending forms follow the captured Jira owner/session, while unrelated UI focus preserves the form.

Current sprint adds Jira's open-sprint condition through the existing optional host filters. Presets retain strict reads, Cloud project bounds, pagination and selected statuses. Saved/typed queries are classified before sprint composition, preserve ordering and report excessive length. Has Workspace reads remain independent, and its disabled sprint switch retains the preference for returning to other views.

Why

Reusing the issue collection, workflow form, captured owner and mutation queue keeps the two views consistent and avoids competing caches or rollback writers. Jira's workflow actions determine valid moves instead of guessed statuses. Optional filters and capability checks keep mixed-version hosts from silently dropping sprint or status selections.

Adapted #13054 by Eugenio Valeiras (@EugeValeiras). Eugenio and the original Claude Fable 5 coauthor remain credited in this branch's contributor trailers.

Linked Issue

References the existing board proposal #13054. This maintainer feature has no separate existing issue.

Visual Proof

Fresh hidden macOS Electron proof at 99d962b4343b640b4aa55d1117587ba41ec3b386 passes 54/54 rendered checks, with no renderer errors and all 63 source hashes stable during the run. Final candidate 602d0b9c77513494b2eff96ef0426db53638e8ad differs only in two test modules: the exported fixture emits identical JavaScript, 61 other hash-fenced files are unchanged, and all production board, detail, actions and assignee sources are identical. The test corrections use the actual client contracts, preserve literal success/failure outcomes and accept optional sites. The production list, board, issue detail, shared save queue and required-field form use labeled synthetic Jira responses. Status preview and Edit as JQL include selected status and Current sprint.

Final list Final board
Final list and planning columns Final board with configured empty lane
Rejected move retains the entered comment for retry Accepted move appears in Done and the open detail timeline
Rejected comment retained Accepted comment and moved card

Both explicit and default Jira owners were exercised. An earlier rejected detail save leaves the later queued board move in Done while its provider response is still pending. Comments reload exactly once after acceptance and never on rejection. Unrelated UI host selection preserves the form; replacing the captured Jira owner session discards it. Light and dark layouts were inspected.

The fixture makes the production sheet nonmodal and suppresses outside dismissal solely to keep board and detail owners concurrently reachable; their widgets, save queue and workflow form are unchanged. It does not exercise live Jira, Windows/Linux renderers or an actual SSH host.

The previous corrected-head c87f1b0b proof is retained below as historical evidence.

Previous list Previous board Previous rejected comment Previous accepted comment
Previous list Previous board Previous rejected comment Previous accepted comment

The retained media below show earlier hidden macOS Electron fixtures and remain historical layout evidence.

Before: list After: board
Before list After board

Current sprint reduces the fixture collection from three issues to two:

Current sprint

The keyboard Move menu and drag both open the required resolution/comment form; submitting places the card in Done:

Required move fields
Moved card
Light board

Testing

  • I tested the current production sources through hidden Electron/CDP fixtures; final type-only equivalence is documented above.
  • Automated tests added/updated.

The current actual-main candidate passes 351 tests in 42 files, including the landed assignee suites. It includes actual mounted BoardView/detail/queue cases for explicit and default owners, transient earlier-save rejection, successful/rejected required comments and preserved retry drafts. Omitting the board's comment event reproduces two timeline failures. Other regressions cover discarded StrictMode issue/comment/transition reads, owner-session lane refresh, unrelated-focus form lifetime, combined status/sprint cache results, exact saved JQL, linked mode, strict argument forwarding, Cloud project bounds and older-host capability refusal.

All seven changed-code quality checks and both direct full-file oxlint/anti-slop scans pass across 46 changed source files. The column-name assertion moved to a bounded board test, and the optimistic-edit suite shares its fixture with two queued-status tests; all 29 cases from current landed main, their 24 test labels and 66 assertion calls are preserved. The landed assignee feature separately covers its changed picker behavior. No rule was suppressed or length limit increased. RPC catalog, localization catalogs, extraction and coverage checks pass. The current-sprint preview mismatch was reproduced before correction; the new component regressions assert preview and Edit-as-JQL handoff with the switch both on and off. Actual landed main composition is complete. Fresh rendered proof is complete. The final checked test corrections pass 29 affected tests in two files; the rendered production sources are unchanged. Exact final web compilation passes at 602d0b9c77513494b2eff96ef0426db53638e8ad. Node compilation passed at the rendered head and carries through the verified unchanged production sources. Current GitHub gates remain with the coordinator before merge. The inherited src/main/ipc/jira.ts length failure is byte-identical to actual main and is being corrected by the image PR; own changed source files pass direct full-file lint. No full lint, packaging, live Jira, Windows/Linux renderer or actual SSH execution claim is made.

AI Disclosure

Review

Focused tests and full-file lint pass on the actual-main candidate. Fresh production-source rendered proof, node compilation on the unchanged production sources, and exact final web compilation pass. Current GitHub gates remain with the coordinator before merge. The optional column field is safe for older clients; current-sprint preset requests require their advertised capability. Unsupported workflow fields stay in Jira.

Agent skill upstream boundary

  • Not applicable; no upstream skill-installer content is copied or translated.

Notes

Based on actual merged main, including saved filters, status filters, planning columns and corrected transitions. Copied prerequisite history has been removed; this branch contains only board/sprint changes and their integration corrections. Reads and writes remain on the captured Jira host/site. Existing folder-workspace actions and mobile request compatibility are retained; no new stream opcode, persistence format, OS shortcut or Git-provider behavior is introduced.

Checklist

  • Feature scope is focused; copied prerequisite commits removed.
  • User-facing before/after, mechanism and approach explained.
  • Existing media preserved; fresh final list/board and rejected/accepted comment proof attached.
  • Self-reviewed for correctness, security and performance.
  • Cross-platform, SSH/remote and compatibility effects considered.
  • Full lint, all typechecks/tests and build pass; focused checks and node/web compilation above pass; full CI, all tests and build remain unclaimed.

@nwparker
nwparker force-pushed the nwparker/jira-board-sprint branch from 2704015 to a435ade Compare October 14, 2026 11:04
@nwparker
nwparker changed the base branch from nwparker/jira-transition-fields to main October 14, 2026 11:07
@coderabbitai

coderabbitai Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a1307d70-bbbb-4419-a22e-c3f481039ca3
📥 Commits

Reviewing files that changed from the base of the PR and between a435ade and c87f1b0.

📒 Files selected for processing: 2
  • src/renderer/src/components/TaskPageJiraStatusFilters.test.tsx
  • src/renderer/src/components/TaskPageJiraStatusFilters.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.

📝 Walkthrough

The pull request adds a Jira board view with configured status columns, issue cards, drag-and-drop, and workflow transition moves. It adds Current sprint filtering to Jira preset and text searches, including runtime capability checks and cache-key handling. The task page adds controls for switching between list and board views and for selecting the current sprint.

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to c87f1

The current-sprint selection flows into the preview and copied query. No concrete behavior blocker was established; the change looks mergeable once normal pending checks complete.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 3.92% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 51 functions across 42 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly summarizes the primary changes: adding a Jira board view and current-sprint filtering.
Description check Passed The description is complete and covers the required sections, user impact, implementation details, rationale, linked proposal, visual proof, testing, compatibility notes, and checklist status. It clea…
  • Fix all pre-merge checks with AI
✨ Finishing Touches: 💡 2
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments: 1
src/renderer/src/components/task-page/jira/Content.tsx: 1

73-76: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Reuse getTaskPageJiraStatusOrderRuntimeScopeKey for the board scope key.

Lines 73-76 use the same JSON.stringify composition as getTaskPageJiraStatusOrderRuntimeScopeKey in src/renderer/src/components/task-page-jira-status-order.ts. If the two copies diverge, the board scope and the status-order scope stop matching. Call the shared helper instead.

♻️ Proposed refactor
-  const boardScopeKey = JSON.stringify([
-    jiraTaskSourceScopeKey,
-    boardTarget ? getEnvironmentRuntimeContextKey(runtimeTargetEnvironmentId(boardTarget)) : null
-  ])
+  const boardScopeKey = getTaskPageJiraStatusOrderRuntimeScopeKey(
+    jiraTaskSourceScopeKey,
+    boardTarget
+  )

ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 85830fb9-1985-4c15-ad5d-77b5272ba9ac
📥 Commits

Reviewing files that changed from the base of the PR and between eb1ee8f and a435ade.

📒 Files selected for processing: 41
  • src/main/jira/issues.test.ts
  • src/main/jira/jira-preset-filters.test.ts
  • src/main/jira/jira-transition-queries.ts
  • src/main/runtime/rpc/methods/jira-board-filter-rpc.test.ts
  • src/preload/api/jira-bridge.ts
  • src/renderer/src/components/jira-issue-workspace-request-lifetime.test.tsx
  • src/renderer/src/components/task-page-jira-board-detail-integration.test.tsx
  • src/renderer/src/components/task-page-jira-board-move-dialog.tsx
  • src/renderer/src/components/task-page-jira-board-move.ts
  • src/renderer/src/components/task-page-jira-board-sections.test.ts
  • src/renderer/src/components/task-page-jira-board-sections.ts
  • src/renderer/src/components/task-page-jira-board-transitions.test.ts
  • src/renderer/src/components/task-page-jira-board-transitions.ts
  • src/renderer/src/components/task-page-jira-board-view.test.tsx
  • src/renderer/src/components/task-page-jira-board-view.tsx
  • src/renderer/src/components/task-page-jira-board.test.tsx
  • src/renderer/src/components/task-page-jira-board.tsx
  • src/renderer/src/components/task-page-jira-status-order-session.test.tsx
  • src/renderer/src/components/task-page-jira-status-order.ts
  • src/renderer/src/components/task-page-jira-view-controls.tsx
  • src/renderer/src/components/task-page/jira/Content.board-owner.test.tsx
  • src/renderer/src/components/task-page/jira/Content.tsx
  • src/renderer/src/components/use-task-page-jira-list-effects.test.ts
  • src/renderer/src/components/use-task-page-jira-list-effects.ts
  • src/renderer/src/components/use-task-page-jira-list-projection.ts
  • src/renderer/src/components/use-task-page-jira-list-state.ts
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/lib/jira-board-drag-payload.test.ts
  • src/renderer/src/lib/jira-board-drag-payload.ts
  • src/renderer/src/runtime/runtime-jira-board-filter-compatibility.test.ts
  • src/renderer/src/runtime/runtime-jira-client.test.ts
  • src/renderer/src/runtime/runtime-jira-client.ts
  • src/renderer/src/store/slices/jira-collection-read-actions.ts
  • src/renderer/src/store/slices/jira-sprint-filter-cache.test.ts
  • src/renderer/src/store/slices/jira-status-filter-cache.test.ts
  • src/shared/jira-jql-predicate.test.ts
  • src/shared/jira-jql-predicate.ts
  • src/shared/jira-preset-jql.ts
  • src/shared/jira-types.ts
  • src/shared/protocol-version.ts
  • src/shared/rpc-contract/jira-quick-filter-params.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.

@nwparker
nwparker force-pushed the nwparker/jira-board-sprint branch from be2f17b to 99d962b Compare October 14, 2026 11:52
@nwparker
nwparker merged commit 624c414 into main Oct 14, 2026
25 of 27 checks passed
smwbev added a commit to smwbev/orca that referenced this pull request Oct 14, 2026
main moved 180 commits. The one conflict is en.json, where the Jira board
(stablyai#28633) and this branch both appended keys to the end of
auto.components.TaskPage: main's jiraBoardEmptyColumn comes first, then
the four labelCount and memberCount sentences from this branch. The
other five catalogs merged on their own. Against main the branch still
removes the same twelve keys and adds the same 24 in all six catalogs,
with no other value changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant