Skip to content

feat(issues): add tracker-neutral issue transitions - #9437

Merged
ederign merged 4 commits into
fullsend-ai:mainfrom
ederign:feat/6704-issue-transitions
Nov 13, 2026
Merged

ederign merged 4 commits into
fullsend-ai:mainfrom
ederign:feat/6704-issue-transitions

Conversation

@ederign

@ederign ederign commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds fullsend issues transition so agents can close GitHub/GitLab issues or execute Jira workflow actions through the shared tracker layer. Closes #6704. Code-agent hooks are a separate change in fullsend-ai/agents#2005; triage adoption remains fullsend-ai/agents#1072.

Exactly one selector is required: --state closed, an exact Jira --transition NAME, or a Jira destination --status NAME. Missing or ambiguous actions fail before writing. GitHub PR numbers are rejected. Jira target projects must be the configured primary project or an explicit allowed_targets.projects entry.

Jira validates existing issue fields and receives the optional comment in the same request as the transition. A required resolution without a default is selected automatically only when exactly one valid allowed ID exists. GitHub/GitLab post comments after closure and report partial failures explicitly. Uncertain Jira writes are not automatically retried.

Validation

  • Complete tracker, Jira transport, and GitHub adapter suites pass with race detection.
  • Focused CLI/transition/PR-identity regressions pass with race detection. New regressions fail against the prior implementation and pass with these fixes.
  • Complete normal CLI suite passes (168s). The complete CLI race suite hits two gateway handoff timeouts; both reproduce on untouched upstream 5d26e1551. They pass when run alone upstream.
  • Approximate coverage of changed executable lines: 235/246 (95.5%). This is a line/block approximation, not proof of branch or API-contract coverage.
  • make lint and explicit pre-commit checks over every PR file pass.

The Jira guide conflict is resolved by retaining both the upstream private-repository link and the transition command link. The CLI inventory, guide ordering, flags, and Jira project-authorization documentation are updated.

Manual smoke-test evidence and limits

The author exercised CLI closure on GitHub/GitLab and Jira status changes plus resolution on the original implementation commit a5bfb6a50. These are historical observations, not live verification of the current patch. The supplied Jira screenshots show status/resolution changes, but do not establish delivery of transition-attached comments or atomicity. With-screen and screenless Jira comment readback remains unverified.

Internal project identifiers and screenshots have been removed from this description; the original evidence is retained locally. Examples use placeholders:

fullsend issues transition --tracker github --project owner/repo \
  --number 42 --state closed --comment "Completed."

fullsend issues transition --fullsend-dir .fullsend --tracker jira \
  --project PROJ --number 42 --transition "Review"

Checklist

  • PR title follows Conventional Commits.
  • Commits are signed off (DCO).
  • I wrote this contribution myself and can explain all changes in it.

Implementation was developed with AI assistance and manually exercised by the author on GitHub, GitLab, and Jira.

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
@ederign
ederign requested a review from a team as a code owner November 13, 2026 17:11
@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Add tracker-neutral issue transitions to the CLI

✨ Enhancement 🧪 Tests 📝 Documentation 🕐 40+ Minutes

Grey Divider

AI Description

• Add fullsend issues transition for portable closure and exact Jira workflow actions.
• Validate Jira actions and required fields before writing; report forge comment failures as partial
 results.
• Document command behavior and separate, optional code-agent hooks; add CLI, tracker, and transport
 tests.
Diagram

graph TD
  CLI["Transition CLI"] --> Options["Validate selectors"] --> Backend{"Tracker type"} --> Forge["Forge adapter"] --> ForgeAPI["GitHub GitLab"]
  Backend --> Jira["Jira resolver"] --> JiraAPI["Jira REST API"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Add transitions directly to tracker.Client
  • ➕ Callers could invoke transitions without a capability check.
  • ➖ Every tracker implementation and test double would need to implement an operation that may not be supported.
2. Keep Jira transitions in agent harness scripts
  • ➕ Could reuse workflow-specific automation without adding a shared command.
  • ➖ Would not provide a tracker-neutral CLI or consistent validation and error behavior for other callers.

Recommendation: Keep the optional Transitioner capability. It exposes one shared command without expanding the existing tracker.Client contract, while leaving workflow permissions and available actions under Jira's control. Keeping code-agent hook policy outside this PR also preserves that separation.

Files changed (14) +809 / -13

Enhancement (4) +339 / -0
issues.goRegister the issues transition subcommand +1/-0

Register the issues transition subcommand

• Adds 'transition' to the existing 'fullsend issues' command group.

internal/cli/issues.go

issues_transition.goImplement transition command parsing and dispatch +91/-0

Implement transition command parsing and dispatch

• Defines selector and connection flags, validates the issue number and selectors, and resolves the configured tracker client. Requires transition capability, invokes it, and prints the result as JSON.

internal/cli/issues_transition.go

transition.goAdd Jira transition discovery and submission transport +62/-0

Add Jira transition discovery and submission transport

• Fetches available Jira actions with transition-screen field metadata. Submits a selected action, supplied fields, and an optional ADF-formatted comment in one POST.

internal/forge/jira/transition.go

transition.goAdd tracker transition capability and backend behavior +185/-0

Add tracker transition capability and backend behavior

• Introduces an optional transition interface, selector validation, and a shared result shape. Forge closure optionally posts a subsequent comment; Jira finds one available action, validates resolution and required fields, and applies it.

internal/tracker/transition.go

Tests (3) +350 / -0
issues_transition_test.goTest command registration, dispatch, and errors +85/-0

Test command registration, dispatch, and errors

• Checks flag registration and argument rejection, forwarding across tracker selections, JSON output, and configuration, backend, capability, and writer failures.

internal/cli/issues_transition_test.go

transition_test.goVerify Jira transition requests and transport errors +64/-0

Verify Jira transition requests and transport errors

• Checks transition discovery, submitted resolution and comment payloads, error responses, encoding failures, and single-attempt POST behavior.

internal/forge/jira/transition_test.go

transition_test.goCover tracker transition selection and edge cases +201/-0

Cover tracker transition selection and edge cases

• Tests Jira selectors, ambiguity, required fields and comments, already-done issues, and backend errors. Covers forge closure idempotency, unsupported options, and comment failures after closure.

internal/tracker/transition_test.go

Documentation (7) +120 / -13
code.mdDocument optional code-harness transition settings +12/-1

Document optional code-harness transition settings

• Describes the started and PR-ready Jira transition variables, their default-off behavior, and their placement in the harness runner environment. Notes that the corresponding hooks require a compatible agents version.

docs/agents/code.md

README.mdAdd issue transitions to the CLI command index +1/-0

Add issue transitions to the CLI command index

• Lists the new command, its selectors and optional flags, and links to guidance on permissions and failure behavior.

docs/cli/README.md

README.mdInclude transitions in the issue-guide index +1/-1

Include transitions in the issue-guide index

• Updates the issue commands entry to include transitioning alongside reading, creating, and commenting.

docs/guides/README.md

cli-internals.mdIdentify the new CLI transition module +1/-1

Identify the new CLI transition module

• Updates the CLI internals inventory to distinguish transition implementation from the existing issue commands file.

docs/guides/dev/cli-internals.md

layered-config-reference.mdClarify tracker defaults for transitions +1/-1

Clarify tracker defaults for transitions

• Adds 'transition' to the issue commands that use the configured default tracker.

docs/guides/infrastructure/layered-config-reference.md

issues-commands.mdDocument transition selectors and failure semantics +57/-1

Document transition selectors and failure semantics

• Adds examples and explains Jira action selection, resolution and comment requirements, idempotent closure, and JSON results. Warns about forge close-then-comment partial failures and uncertain Jira POST outcomes.

docs/guides/user/issues-commands.md

jira-integration.mdExplain optional code-agent Jira transition hooks +47/-8

Explain optional code-agent Jira transition hooks

• Documents external harness settings, hook timing, prerequisites, warning-only failures, and the distinction between transition names and destination statuses. Clarifies that a started transition can remain applied even if a later run stage fails.

docs/guides/user/jira-integration.md

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 5:13 PM UTC · Completed 5:30 PM UTC

Commit: a5bfb6a · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $3.23

@qodo-code-review

qodo-code-review Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (1)

Grey Divider


Action required

1. Future work lacks a planned callout 📜 Skill insight ≡ Correctness
Description
The new fullsend issues transition section in issues-commands.md names GitHub Projects fields,
run-start transitions, and PR-merge monitoring as outside the first implementation, written as plain
prose. Those features are not built, and the paragraph gives no > **Planned:** callout and no
tracking-issue link, so a reader cannot tell they are future work or find where they are tracked.
Code

docs/guides/user/issues-commands.md[R412-413]

+portable closure. GitHub Projects fields, run-start transitions, and PR-merge
+monitoring are outside this command's first implementation.
Relevance

●● Moderate

Recent rejections asked for Planned callouts on prose future work, but a later Oct PR accepted
plain-prose status instead.

PR-#8877
PR-#6429
PR-#8698

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The added paragraph describes GitHub Projects fields, run-start transitions and PR-merge monitoring
as not yet implemented, without the required > **Planned:** blockquote or an issue link.

docs/guides/user/issues-commands.md[410-413]
Skill: writing-user-docs

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
In `docs/guides/user/issues-commands.md`, the new `fullsend issues transition` section mentions three not-yet-implemented items (GitHub Projects fields, run-start transitions, PR-merge monitoring) as plain prose. Compliance rule 1062082 requires planned features to use the `> **Planned:**` blockquote callout with a link to the relevant issue.

## Fix Focus Areas
- docs/guides/user/issues-commands.md[410-413]

## Recommended Fix
Replace the sentence ending in "outside this command's first implementation." with a blockquote such as `> **Planned:** GitHub Projects fields, run-start transitions, and PR-merge monitoring are not part of this command's first implementation ([#NNNN](https://github.com/fullsend-ai/fullsend/issues/NNNN)).` Use the real tracking issue link, and create the issue first if none exists.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗



Remediation recommended

2. Agents must pick Jira resolutions themselves ✓ Resolved

Resolving commit: 35ec01c

Resolution reason
transitionFields now auto-selects the resolution ID when resolution is required, has no default, no
caller value is supplied, and AllowedValues has exactly one entry with a non-empty ID; zero or
multiple values still error. Tests cover single, none, multiple, and malformed cases, and the docs
sentence about guessing was revised to describe the new behavior.
Description
transitionFields in internal/tracker/transition.go returns an error when a required resolution
field has no caller-supplied value, instead of selecting from the transition's allowed values. A
--state closed request on a Jira workflow that requires a resolution without a default therefore
fails unless the agent passes --resolution. The author's manual test confirms this: closing
without a resolution failed and succeeded only after --resolution "Done" was added, so each agent
closing a Jira issue must carry its own resolution choice.

3. Jira transitions refused when screen fields are already filled ✓ Resolved

Resolving commit: 35ec01c

Resolution reason
Removed the local rejection of required non-resolution, non-comment fields in transitionFields.
Those fields are now left to Jira to validate against the issue's current values, and the transition
proceeds when Jira accepts it. Only resolution (automatic selection when exactly one allowed value
exists) and comment keep local checks.
Description
transitionFields rejects every transition-screen field that is Required with `HasDefaultValue ==
false`, except resolution and a supplied comment. It never checks whether the issue already has a
value for that field. In Jira, hasDefaultValue describes the field configuration's default, not
the issue's current value. So when a workflow screen shows a required field the issue already has,
such as Summary, Assignee or a filled custom field, Jira would accept the transition, but the
command fails with "requires unsupported field" before sending anything.

4. Jira ignores resolution on closed issues ✓ Resolved

Resolving commit: 35ec01c

Resolution reason
In internal/tracker/transition.go's already-closed (done category) branch, the commit now returns an
error when opts.Resolution is non-empty, before any comment is posted or success is returned: "issue
%q is already closed; applying a resolution requires an explicit transition name or target status".
A test (TestJiraAlreadyClosedResolutionDoesNotWrite) confirms no transition call or comment occurs.
This matches the suggested remediation (explicit rejection, no comment, no success) with the same
logic, though the test is in transition_test.go as a new function rather than the suggested
location.
Description
JiraClient.TransitionIssue returns from its already-closed branch without checking or applying
opts.Resolution. When a caller supplies --state closed --resolution for an issue already in the
done category, the command reports success even if that resolution was never set.


Informational

5. Docs describe code-agent hooks not shipped ✓ Resolved

Resolving commit: 35ec01c

Resolution reason
Removed the CODE_JIRA_* variable table from docs/agents/code.md (replaced with "None.") and deleted
the "Optional code transitions" section from the Jira integration guide, along with the warning-only
hook failure semantics, so the docs no longer describe the unshipped hooks.
Description
docs/agents/code.md and the new "Optional code transitions" section document
CODE_JIRA_STARTED_TRANSITION / CODE_JIRA_PR_READY_TRANSITION hooks, credential pass-through to
pre-scripts, and warning-only failure semantics. None of these exist in this repository, and the PR
description says the hooks are a separate, unmerged fullsend-ai/agents change. Users who follow
these docs today set variables that nothing reads, and the docs will be wrong if the agents change
ships with different names or behaviour.

6. Portable close fails on Jira workflows with several Done actions 🐞 Bug ≡ Correctness
Description
With --state closed, every available transition whose destination has status category done
counts as a match, and more than one match is an error. Many Jira workflows have several such
actions: classic Resolve/Close, or the Duplicate/Won't Do/Obsolete transitions the triage docs list.
On those workflows the tracker-neutral close always fails, and callers such as triage are pushed
back to naming Jira transitions, which is what the linked issue set out to avoid.
Code

internal/tracker/transition.go[R126-135]

+		if (opts.Name != "" && tr.Name == opts.Name) || (opts.Status != "" && tr.To.Name == opts.Status) || (opts.State == "closed" && tr.To.StatusCategory.Key == "done") {
+			matches = append(matches, tr)
+		}
+	}
+	if len(matches) == 0 {
+		return nil, fmt.Errorf("no matching Jira transition available on %q; check workflow and Transition Issues permission", key)
+	}
+	if len(matches) != 1 {
+		return nil, fmt.Errorf("ambiguous Jira transition on %q (%d matches); choose a unique --transition name", key, len(matches))
+	}
Relevance

●● Moderate

No direct precedent for multi-match done-transition ambiguity; a substantive design issue the team
has not weighed in on.

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The match condition accepts any transition into a done-category status, and len(matches) != 1
returns an ambiguity error. The PR's own Jira docs say triage workflows carry several done-category
transitions (Duplicate, Won't Do, Obsolete), so on those projects --state closed cannot succeed
without extra configuration.

internal/tracker/transition.go[124-135]
docs/guides/user/jira-integration.md[444-450]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Jira `--state closed` fails whenever more than one available transition leads to a done-category status, which is common in real workflows.

## Fix Focus Areas
- internal/tracker/transition.go[124-135]

## Recommended Fix
Add a tie-breaker: for example, an optional `tracker.jira` config key naming the default close transition or status, or a preference for a transition whose destination is the workflow's resolved/"Done" status. Keep the ambiguity error only when that tie-breaker still leaves more than one match. Document the behaviour in issues-commands.md.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗


Grey Divider

Context sources
✅ Linked PRs:
  🌐 PR #1
❌ Tickets: failed to load — Ticket collection could not establish complete evidence
✅ Compliance rules (platform): 96 rules
✅ Skills: 5 invoked
  writing-user-docs
  writing-adrs
  check-patch-coverage
  cutting-releases
  adr-corner
✅ Cross-repo context — repo relationships
  Explored: repo: fullsend-ai/agents (sha: 8be868f5) — View relationship
Review mode: Auto: 🧠 Deep: Substantial workflow logic spans CLI, tracker, forge backends, and multiple failure paths.

Grey Divider

Tip of the day
💡 Did you know, you can start a comment with 'qodo' or '@qodo' to chat about any finding

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

Comment thread docs/guides/user/issues-commands.md Resolved
Comment thread internal/tracker/transition.go Resolved
Comment thread internal/tracker/transition.go Resolved
Comment thread internal/tracker/transition.go Resolved
Comment thread internal/tracker/transition.go Resolved
Comment thread docs/agents/code.md Resolved
@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Site preview

Preview: https://4578f035-site.fullsend-ai.workers.dev

Commit: 67af636e6e9a90b0ca765dd365fe052ab990ab8c

@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Nov 13, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

Additive CLI command with well-matched issue scope and comprehensive test coverage, balancing active churn on touched forge and CLI files against zero protected path changes and no dependency modifications.

Previous run

Risk Assessment: moderate (2/5)

Details

Additive-only feature with no protected paths and aligned issue scope, maintained at moderate risk (level 2) due to diff size (1,098 lines across 20 files) and high churn in touched CLI documentation and forge files.

Previous run (2)

Risk Assessment: moderate (2/5)

Details

Additive-only feature with no protected paths and aligned issue scope, with risk elevated to moderate (level 2) by diff size (902 lines across 15 files) and high churn in touched CLI documentation files.

Previous run (3)

Risk Assessment: moderate (2/5)

Details

Additive-only feature with no protected paths and aligned issue scope, with risk moderated to level 2 by diff size (822 lines across 14 files) and high churn in touched CLI documentation.

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Review

Findings

Low

  • [error-handling-idiom] internal/forge/jira/transition.go:32 — ListTransitions assigns err and checks it on separate lines, whereas every c.do call in internal/forge/jira/client.go and ApplyTransition (line 58) use the compound if err := c.do(...); err != nil form.
    Remediation: Inline the call into the if statement to match the surrounding code.

  • [naming-convention] internal/forge/jira/transition.go:41 — ApplyTransition names its transition identifier parameter id next to issueIDOrKey. client.go qualifies sub-resource IDs (for example commentID in DeleteComment).
    Remediation: Rename the parameter to transitionID here and in the jiraTransitions interface in internal/tracker/transition.go.


Labels: New user-facing CLI feature (feat commit type)

Previous run

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIi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joiY29kZS1vcmdhbml6YXRpb24iLCJmaWxlIjoiaW50ZXJuYWwvY2xpL2lzc3Vlc190cmFuc2l0aW9uLmdvIiwiaWQiOiJmXzUwODY4NmUyNGVjNTVkZDYiLCJsaW5lIjoxNSwiYWN0aW9uYWJsZSI6dHJ1ZSwiZGltZW5zaW9uIjoic3R5bGUtY29udmVudGlvbnMifV0sImRpc3Bvc2l0aW9ucyI6W3siaWQiOiJmXzM1NTA5ODk5ZjAzODNjZDQiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl83ZjhmZDExOGU4MGEwMDI0Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfYzQ5OGUxNjU0YzFkYWQ1YyIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmX2IxNzg0ZDliZTYwNjJiNTEiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl85MmQ4MGY0YjUxYjE0N2RlIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfMGM1MjU1NTExNzgxMjhkNSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmXzdjOTA1ZGI1MGExZmEyNjUiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl81MDg2ODZlMjRlYzU1ZGQ2Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn1dfQ== -->

Review

Findings

Low

  • [error-handling-idiom] internal/forge/jira/transition.go:32 — ListTransitions assigns err and checks it on separate lines, whereas every c.do call in internal/forge/jira/client.go and ApplyTransition (line 58) use the compound if err := c.do(...); err != nil form.
    Remediation: Inline the call into the if statement to match the surrounding code.

  • [naming-convention] internal/forge/jira/transition.go:41 — ApplyTransition names its transition identifier parameter id next to issueIDOrKey. client.go qualifies sub-resource IDs (for example commentID in DeleteComment).
    Remediation: Rename the parameter to transitionID here and in the jiraTransitions interface in internal/tracker/transition.go.


Labels: New user-facing CLI feature (feat commit type)

Previous run (2)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOlt7InNldmVyaXR5IjoibWVkaXVtIiwiY2F0ZWdvcnkiOiJpbmNvbXBsZXRlLWRvYyIsImZpbGUiOiJkb2NzL3JlZmVyZW5jZS9jb25maWctcmVmZXJlbmNlLm1kIiwiaWQiOiJmXzM1NTA5ODk5ZjAzODNjZDQiLCJsaW5lIjo0MzQsImFjdGlvbmFibGUiOnRydWUsImRpbWVuc2lvbiI6ImRvY3MtY3VycmVuY3kifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJpbmNvbXBsZXRlLWRvYyIsImZpbGUiOiJkb2NzL2NvbnRyaWJ1dGluZy9kb2N1bWVudGF0aW9uLm1kIiwiaWQiOiJmXzdmOGZkMTE4ZTgwYTAwMjQiLCJsaW5lIjoyOTAsImFjdGlvbmFibGUiOnRydWUsImRpbWVuc2lvbiI6ImRvY3MtY3VycmVuY3kifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJhcGktc2hhcGUiLCJmaWxlIjoiaW50ZXJuYWwvdHJhY2tlci90cmFuc2l0aW9uLmdvIiwiaWQiOiJmX2M0OThlMTY1NGMxZGFkNWMiLCJsaW5lIjozMiwiYWN0aW9uYWJsZSI6dHJ1ZSwiZGltZW5zaW9uIjoic3R5bGUtY29udmVudGlvbnMifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJhcGktc2hhcGUiLCJmaWxlIjoiaW50ZXJuYWwvdHJhY2tlci90cmFuc2l0aW9uLmdvIiwiaWQiOiJmX2IxNzg0ZDliZTYwNjJiNTEiLCJsaW5lIjo0MywiYWN0aW9uYWJsZSI6dHJ1ZSwiZGltZ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ition.go:32, api-shape — resolved; error message no longer names CLI flags.
  • internal/tracker/transition.go:43, api-shape — resolved; JSON tags removed from tracker.TransitionResult, moved to CLI-layer issueTransitionResult.
  • internal/tracker/transition.go:53, api-shape — resolved; Transitioner and jiraTransitions parameters are now named.
  • internal/forge/jira/transition.go:28, naming-convention — resolved; key renamed to issueIDOrKey.
  • internal/forge/jira/transition.go:34, error-handling-idiom — resolved; error prefixes changed to imperative form.
  • internal/cli/issues_transition.go:15, code-organization — resolved; issuesTransitionConfig fields reformatted one per line.
  • docs/reference/config-reference.md:434, incomplete-doc — resolved; transition added to the fullsend issues command list.
  • docs/contributing/documentation.md:290, incomplete-doc — resolved; internal/cli/issues_transition.go added to the Go source row.
Previous run (4)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJyZXF1ZXN0LWNoYW5nZXMiLCJmaW5kaW5ncyI6W3sic2V2ZXJpdHkiOiJtZWRpdW0iLCJjYXRlZ29yeSI6ImluY29tcGxldGUtZG9jIiwiZmlsZSI6ImRvY3MvcmVmZXJlbmNlL2NvbmZpZy1yZWZlcmVuY2UubWQiLCJpZCI6ImZfMzU1MDk4OTlmMDM4M2NkNCIsImxpbmUiOjQzNCwiYWN0aW9uYWJsZSI6dHJ1ZSwiZGltZW5zaW9uIjoiZG9jcy1jdXJyZW5jeSJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImluY29tcGxldGUtZG9jIiwiZmlsZSI6ImRvY3MvY29udHJpYnV0aW5nL2RvY3VtZW50YXRpb24ubWQiLCJpZCI6ImZfN2Y4ZmQxMThlODBhMDAyNCIsImxpbmUiOjI5MCwiYWN0aW9uYWJsZSI6dHJ1ZSwiZGltZW5zaW9uIjoiZG9jcy1jdXJyZW5jeSJ9LHsic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImFwaS1zaGFwZSIsImZpbGUiOiJpbnRlcm5hbC90cmFja2VyL3RyYW5zaXRpb24uZ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ibG93IiwiY2F0ZWdvcnkiOiJjb2RlLW9yZ2FuaXphdGlvbiIsImZpbGUiOiJpbnRlcm5hbC9jbGkvaXNzdWVzX3RyYW5zaXRpb24uZ28iLCJpZCI6ImZfNTA4Njg2ZTI0ZWM1NWRkNiIsImxpbmUiOjE1LCJhY3Rpb25hYmxlIjp0cnVlLCJkaW1lbnNpb24iOiJzdHlsZS1jb252ZW50aW9ucyJ9XX0= -->

Review

Findings

Medium

  • [incomplete-doc] docs/reference/config-reference.md:434 — Line 434 lists the fullsend issues commands that read the Jira connection only from tracker.jira as (get, create, post-comment, link). The new transition command goes through newConfiguredTrackerClient, so it has the same config-only requirement, but it is missing from the list. The PR does not change this file.
    Remediation: Add transition to the list at docs/reference/config-reference.md line 434, e.g. (get, create, post-comment, transition, link).

Low

  • [incomplete-doc] docs/contributing/documentation.md:290 — In the 'Cross-reference by command group' table, the issues row gives internal/cli/issues.go as the only Go source. Help text for fullsend issues transition lives in the new internal/cli/issues_transition.go. This file is not changed in the PR.
    Remediation: Add internal/cli/issues_transition.go to the Go source cell at line 290.
  • [api-shape] internal/tracker/transition.go:32 — Error messages in the tracker domain package name CLI flags directly: '--state, --transition, or --status' (line 32), '--transition' (line 134) and '--resolution' (line 180). Elsewhere in internal/tracker/, errors describe domain concepts, and flag names are left to internal/cli/. This is a layering inconsistency rather than a functional problem, since the CLI is the only current caller.
    Remediation: Describe the options in domain terms (e.g. 'specify exactly one of State, Name, or Status'), or map the errors to flag names in internal/cli/issues_transition.go.
  • [api-shape] internal/tracker/transition.go:43 — tracker.TransitionResult has json struct tags and is written straight to stdout by the CLI. Other issues subcommands define their own CLI result structs in internal/cli/issues.go (issueGetResult, issueCommentGetResult, issueCreateResult).
    Remediation: Define an issueTransitionResult struct in internal/cli/issues_transition.go and map tracker.TransitionResult into it.
  • [api-shape] internal/tracker/transition.go:53 — The Transitioner (line 53) and jiraTransitions (lines 91-92) interfaces leave their parameters unnamed. Every other interface in internal/tracker/ names them. The unnamed string parameters of ApplyTransition (key, transition ID, comment) are hard to tell apart.
    Remediation: Name the parameters, e.g. TransitionIssue(ctx context.Context, project string, number int, opts TransitionOptions) and ApplyTransition(ctx context.Context, issueIDOrKey, transitionID string, fields map[string]any, comment string).
  • [naming-convention] internal/forge/jira/transition.go:28 — ListTransitions and ApplyTransition name the issue parameter key. The matching LiveClient methods in internal/forge/jira/client.go name it issueIDOrKey.
    Remediation: Rename key to issueIDOrKey in both methods.
  • [error-handling-idiom] internal/forge/jira/transition.go:34 — Error wrapping in ListTransitions ('listing transitions for %q: %w') and ApplyTransition ('applying transition %q to %q: %w') uses -ing verbs and %q. LiveClient methods in client.go mostly use imperative verbs with %s (e.g. 'get issue %s: %w', 'list comments for %s: %w').
    Remediation: Use 'list transitions for %s: %w' and 'apply transition %s to %s: %w'.
  • [code-organization] internal/cli/issues_transition.go:15 — issuesTransitionConfig packs several fields onto one line and has no '// Test overrides — when non-nil...' comment above the test fields, which the issues.go config structs use. In newIssuesTransitionCmd, Use and Short share one line and RunE is a single-line closure, unlike newIssuesGetCmd and newIssuesLinkCmd.
    Remediation: Put each field on its own line, add the standard test-overrides comment, and lay out the cobra.Command fields across multiple lines.

Labels: PR adds a Go CLI subcommand and tracker code with accompanying user docs


Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot added go Pull requests that update go code component/docs User-facing documentation labels Nov 13, 2026
@codecov

codecov Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.47236% with 11 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/cli/issues_transition.go 91.17% 4 Missing and 2 partials ⚠️
internal/tracker/transition.go 96.80% 2 Missing and 1 partial ⚠️
internal/forge/jira/transition.go 91.66% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 5:44 PM UTC · Completed 5:55 PM UTC

Commit: 35ec01c · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.03

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label Nov 13, 2026

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Review-only comments; inline findings below.

[MEDIUM] PR description includes internal Jira site, project key and GitLab project path

The PR body in this public repo links to an internal Atlassian site issue. It also includes the internal Jira project key and an internal GitLab project path in the manual-evidence table and the screenshots. This is PR metadata, not code, but it still exposes user and internal project details, which fullsend PRs should replace with generic names.

Suggestion: Replace the Atlassian host, project keys and GitLab path in the PR body with generic placeholders such as PROJ-123 and group/project, or move the evidence to a non-public location.

Comment thread internal/tracker/transition.go Resolved
Comment thread docs/guides/dev/cli-internals.md Resolved
Comment thread internal/cli/issues_transition.go Resolved
Comment thread docs/guides/user/issues-commands.md Resolved
Comment thread docs/guides/user/issues-commands.md Resolved
Reject GitHub PR numbers before closing or commenting, enforce Jira target
project authorization, and complete transition documentation. Merge current
main while preserving the Jira guide private-repository link.

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 7:06 PM UTC · Completed 7:14 PM UTC

Commit: 0e52563 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.46

@fullsend-ai-review fullsend-ai-review Bot removed the ready-for-merge All reviewers approved — ready to merge label Nov 13, 2026
fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review November 13, 2026 19:14

Superseded by updated review

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label Nov 13, 2026
@ralphbean ralphbean self-assigned this Nov 13, 2026
@ralphbean
ralphbean enabled auto-merge November 13, 2026 20:30
@ralphbean
ralphbean added this pull request to the merge queue Nov 13, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 13, 2026
@ederign
ederign added this pull request to the merge queue Nov 13, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 13, 2026
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
@ederign
ederign enabled auto-merge November 13, 2026 22:08
@ederign
ederign added this pull request to the merge queue Nov 13, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 10:09 PM UTC · Completed 10:23 PM UTC

Commit: 67af636 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.75

@fullsend-ai-review fullsend-ai-review Bot removed the ready-for-merge All reviewers approved — ready to merge label Nov 13, 2026
var result struct {
Transitions []Transition `json:"transitions"`
}
err := c.do(ctx, http.MethodGet, "/issue/"+url.PathEscape(issueIDOrKey)+"/transitions?expand=transitions.fields", nil, &result)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[low] error-handling-idiom

ListTransitions assigns err and checks it on separate lines, whereas every c.do call in internal/forge/jira/client.go and ApplyTransition (line 58) use the compound if err := c.do(...); err != nil form.

Suggested fix: Inline the call into the if statement to match the surrounding code.


// ApplyTransition submits the selected ID, fields and optional Markdown comment
// in one request. Ambiguous network/server failures are not retried by do.
func (c *LiveClient) ApplyTransition(ctx context.Context, issueIDOrKey, id string, fields map[string]any, comment string) error {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[low] naming-convention

ApplyTransition names its transition identifier parameter id next to issueIDOrKey. client.go qualifies sub-resource IDs (for example commentID in DeleteComment).

Suggested fix: Rename the parameter to transitionID here and in the jiraTransitions interface in internal/tracker/transition.go.

@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review November 13, 2026 22:23

Superseded by updated review

@fullsend-ai-review fullsend-ai-review Bot added ready-for-merge All reviewers approved — ready to merge type/feature New capability request labels Nov 13, 2026
Merged via the queue into fullsend-ai:main with commit 2cf5b8f Nov 13, 2026
63 checks passed
@ederign
ederign deleted the feat/6704-issue-transitions branch November 13, 2026 23:12
jefferyb added a commit to jefferyb/agents that referenced this pull request Nov 20, 2026
Replace the custom bash/jq keyword-ranking fallback and English
rejection denylist in tracker_close_issue with fullsend issues
transition (available since Fullsend v0.56.1 / fullsend-ai/fullsend#9437).

- Check exact target-status idempotency (status matches configured
  transition name or its .to.name when in a done-category status)
  and remove the split-only catch-all skip block.
- Delegate available configured transitions to
  fullsend issues transition --transition and completed/split fallbacks
  to fullsend issues transition --state closed so agents and core
  fullsend share one transition and resolution policy.
- Update docs/triage.md (documenting the Fullsend v0.56.1 requirement),
  rebuild script bundles, and update scripts/post-triage-test.sh
  including split on Won't Fix when the split transition is missing.

Signed-off-by: Jeffery Bagirimvano <jefferyb@redhat.com>

This branch was successfully deployed

1 active deployment
site-preview — 67af636e Deployed Nov 13, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/docs User-facing documentation go Pull requests that update go code ready-for-merge All reviewers approved — ready to merge risk/moderate PR risk: moderate type/feature New capability request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

issues: add tracker-neutral issue transitions

3 participants