Skip to content

retro: add a Jira-source trigger arm and decide change-proposal scoping #2181

Backlog

Description

@andrewevansrh

Summary

Retro can analyze a Jira-originated work item, but only when a human runs fullsend run by hand with a Jira issue URL as ORIGINATING_URL. No Jira event can start a retro, so the input half of the original request (fullsend-ai/fullsend#2267) is unreachable automatically.

harness/retro.yaml on main (after #2109) declares a comment arm limited to the two forges:

event.source.system in ["github", "gitlab"]

and has no Jira overlay. harness/code.yaml has both: the arm includes "jira" (line 48) and a when: event.source.system == "jira" overlay (around line 180) wiring the jira provider, scripts/pre-code-jira.sh and the credential env block. That overlay is the bar fullsend-ai/fullsend#2265 was closed as completed against, and retro is now one notch below it.

Why this needs a decision before code

docs/normative/normalized-event/v1/jira-poll-adapter.md scopes retro to change proposals: a comment on a bare Jira issue never carries entity.kind == "change_proposal", and docs/guides/user/jira-integration.md states outright that /fs-retro on a Jira issue is not expected to dispatch anything. The arm therefore cannot simply be widened; one of these has to be chosen and written down:

  • (a) Relax the scoping so a human comment on a Jira issue can start a retro against that issue, with the host-side context fetch shipped in feat(retro): add Jira support to the retro agent #2109 supplying the issue content.
  • (b) Keep retro change-proposal-only and define how the close or merge of a Jira-linked PR reaches retro instead.

Option (b) additionally depends on fullsend-ai/fullsend#9860, which must pass Jira credentials to forge-originated runs.

To do

  • Decide (a) or (b) and record the decision in the jira-poll adapter spec.
  • Add the Jira arm to harness/retro.yaml's trigger, and under (a) add an event.source.system == "jira" overlay mirroring harness/code.yaml (jira provider, pre-retro.sh, FULLSEND_TRACKER: jira, FULLSEND_DIR).
  • Add offline CEL trigger rows for the new arm, following test(triggers): offline CEL trigger rows for code and fix, and bot-identity cases #1768.
  • Update docs/retro.md → Triggers, which currently states that Jira events are not dispatched or polled.

References

Activity

  1. fullsend-ai-triage commented on Nov 25, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ❌ Failure (running pre-script: exit status 1: ERROR: triage labels still present after reset: feature) · Started 4:14 PM UTC · Completed 4:14 PM UTC

    Commit: 12b233c · View workflow run →

    Effort: high

  2. andrewevansrh commented on Nov 25, 2026

    @andrewevansrh
    ContributorAuthor

    /fs-triage

  3. fullsend-ai-triage commented on Nov 25, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 4:27 PM UTC · Completed 4:28 PM UTC

    Commit: 12b233c · View workflow run →

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

  4. fullsend-ai-triage commented on Nov 25, 2026

    @fullsend-ai-triage

    This is ready to implement only after a scoping decision that has to be made and recorded outside this repository. The adapter spec and the Jira integration guide that currently exclude retro on bare Jira issues live in fullsend-ai/fullsend, so the decision between option (a) and option (b) cannot be recorded by a change here. A tracking issue is being proposed in that repository for the decision and the spec update.

    What this repo's code confirms:

    • harness/retro.yaml limits the comment arm to GitHub and GitLab and has no Jira overlay, while harness/code.yaml has both.
    • docs/retro.md (Triggers) currently says Jira events are not dispatched or polled, so it needs updating once a choice is made.

    How the decision affects the work in this repo:

    • Option (a): add jira to the comment arm, add an event.source.system == "jira" overlay mirroring harness/code.yaml, add offline CEL rows in harness/triggertest, and update docs/retro.md. Nothing else blocks it.
    • Option (b): the comment arm stays as is, and the work additionally waits on dispatch: pass Jira credentials to forge-originated retro runs fullsend#9860 (Jira credentials for forge-originated retro runs).

    The live verification in #2168 depends on this issue and on the dispatch work. No open PR currently addresses this issue.

    Could not create automatically (file manually or update tracker.github.allowed_targets in config.yaml):

    Prerequisite: fullsend-ai/fullsend — Decide retro scoping for Jira-originated comments and record it in the jira-poll adapter spec

    The retro agent (harness/retro.yaml in fullsend-ai/agents) can analyze a Jira-originated work item only when a human runs fullsend run manually with a Jira issue URL as ORIGINATING_URL. No Jira event can start a retro, because docs/normative/normalized-event/v1/jira-poll-adapter.md scopes retro to change proposals (a comment on a bare Jira issue never carries entity.kind == "change_proposal"), and docs/guides/user/jira-integration.md states that /fs-retro on a Jira issue is not expected to dispatch anything. The code agent already has a Jira arm and overlay, so retro is one step behind it.

    A decision is needed between:

    • (a) Relax the scoping so a human comment on a Jira issue can start a retro against that issue, with the host-side Jira context fetch supplying the issue content.
    • (b) Keep retro change-proposal-only and define how the close or merge of a Jira-linked PR reaches retro. This also depends on #9860 (pass Jira credentials to forge-originated retro runs).

    Acceptance criteria:

    • The chosen option is recorded in the jira-poll adapter spec, and docs/guides/user/jira-integration.md is updated to match.
    • Any adapter or dispatch change the choice requires is filed or made.

    Once this is decided, fullsend-ai/agents can add the Jira arm to harness/retro.yaml, plus offline CEL trigger tests and the docs/retro.md Triggers update (tracked in #2181).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions