Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
286 changes: 0 additions & 286 deletions ci-operator/step-registry/hypershift/jira-agent/README.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,35 @@ workflow:
as: hypershift-jira-agent
steps:
pre:
- ref: hypershift-jira-agent-setup
- ref: jira-agent-setup
test:
- ref: hypershift-jira-agent-process
- ref: jira-agent-process
post:
- ref: hypershift-jira-agent-report
- ref: jira-agent-report
env:
JIRA_AGENT_FORK_REPO: "hypershift-community/hypershift"
JIRA_AGENT_UPSTREAM_REPO: "openshift/hypershift"
JIRA_AGENT_JQL: 'project in (OCPBUGS, CNTRLPLANE) AND resolution = Unresolved AND status in (New, "To Do") AND labels = issue-for-agent AND labels != agent-processed'
JIRA_AGENT_TARGET_STATUS: '{"OCPBUGS":"ASSIGNED","CNTRLPLANE":"Code Review"}'
JIRA_AGENT_ASSIGNEE: "hypershift-automation"
JIRA_AGENT_UPSTREAM_INSTALLATION_ID_KEY: "o-h-installation-id"
JIRA_AGENT_FORK_INSTALLATION_ID_KEY: "installation-id"
JIRA_AGENT_EXTRA_PLUGIN_COMMANDS: |
claude plugin install utils@ai-helpers
claude plugin install golang@ai-helpers
claude plugin marketplace add enxebre/ai-scripts
claude plugin install git@enxebre
JIRA_AGENT_TOOL_SETUP_SCRIPT: "GOFLAGS='' go install golang.org/x/tools/gopls@v0.21.0 && python3.9 -m ensurepip --user 2>/dev/null || true && python3.9 -m pip install --user pre-commit 2>&1 | tail -1"
JIRA_AGENT_REVIEW_LANGUAGE: "go"
JIRA_AGENT_REVIEW_PROFILE: "hypershift"
JIRA_AGENT_SLACK_EMOJI: ":hypershift-bot:"
documentation: |-
HyperShift Jira Agent workflow for automated issue processing.
HyperShift-specific wrapper for the generic Jira Agent workflow.

This workflow:
1. Setup: Verifies Claude Code CLI is available
2. Process: For each Jira issue, runs a four-phase pipeline:
a. Phase 1 - Solve: Runs /jira-solve to implement, commit, and push changes
b. Phase 2 - Review: Runs /code-review:pre-commit-review to review code quality (read-only)
c. Phase 3 - Fix: Addresses review findings by editing code and pushing fixes
d. Phase 4 - PR: Creates a draft PR after review is complete
3. Report: Generates HTML report with per-phase token usage, cost estimates, and posts link on PRs
This workflow delegates to the generic jira-agent steps with HyperShift-specific
configuration (fork repo, JQL query, status transitions, plugins, etc.).

The workflow uses /jira-solve and /code-review:pre-commit-review in non-interactive mode.
Issues are queried from Jira with: project in (OCPBUGS, CNTRLPLANE) AND status in (New, "To Do") AND labels = issue-for-agent
Credentials: Uses hypershift-team-claude-prow (configured in generic step refs).
When another team onboards, they will need to either:
1. Create their own ref YAMLs pointing to the generic commands with their credential
2. Request the generic credential name be updated to a shared secret
12 changes: 0 additions & 12 deletions ci-operator/step-registry/hypershift/jira-agent/process/OWNERS

This file was deleted.

Loading