-
+
${TOKEN_TABLE}
Phase 1: Solve
diff --git a/ci-operator/step-registry/hypershift/jira-agent/process/hypershift-jira-agent-process-ref.metadata.json b/ci-operator/step-registry/jira-agent/report/jira-agent-report-ref.metadata.json
similarity index 71%
rename from ci-operator/step-registry/hypershift/jira-agent/process/hypershift-jira-agent-process-ref.metadata.json
rename to ci-operator/step-registry/jira-agent/report/jira-agent-report-ref.metadata.json
index 22d12984f05fb..e2b373761e895 100644
--- a/ci-operator/step-registry/hypershift/jira-agent/process/hypershift-jira-agent-process-ref.metadata.json
+++ b/ci-operator/step-registry/jira-agent/report/jira-agent-report-ref.metadata.json
@@ -1,5 +1,5 @@
{
- "path": "hypershift/jira-agent/process/hypershift-jira-agent-process-ref.yaml",
+ "path": "jira-agent/report/jira-agent-report-ref.yaml",
"owners": {
"approvers": [
"bryan-cox",
diff --git a/ci-operator/step-registry/jira-agent/report/jira-agent-report-ref.yaml b/ci-operator/step-registry/jira-agent/report/jira-agent-report-ref.yaml
new file mode 100644
index 0000000000000..e8accc95ee06a
--- /dev/null
+++ b/ci-operator/step-registry/jira-agent/report/jira-agent-report-ref.yaml
@@ -0,0 +1,17 @@
+ref:
+ as: jira-agent-report
+ from: claude-ai-helpers
+ commands: jira-agent-report-commands.sh
+ env:
+ - name: JIRA_BASE_URL
+ default: "https://redhat.atlassian.net"
+ documentation: |-
+ Base URL for the Jira instance. Used for linking to issues in the report.
+ resources:
+ requests:
+ cpu: 100m
+ memory: 256Mi
+ documentation: |-
+ Generates an HTML report from the jira-agent processing output.
+ Parses stream-json output from all phases (solve, review, fix, PR)
+ and produces a readable report in ${ARTIFACT_DIR}.
diff --git a/ci-operator/step-registry/jira-agent/setup/OWNERS b/ci-operator/step-registry/jira-agent/setup/OWNERS
new file mode 100644
index 0000000000000..ff943340794d2
--- /dev/null
+++ b/ci-operator/step-registry/jira-agent/setup/OWNERS
@@ -0,0 +1,12 @@
+approvers:
+ - bryan-cox
+ - csrwng
+ - celebdor
+ - enxebre
+ - sjenning
+reviewers:
+ - bryan-cox
+ - csrwng
+ - celebdor
+ - enxebre
+ - sjenning
diff --git a/ci-operator/step-registry/hypershift/jira-agent/setup/hypershift-jira-agent-setup-commands.sh b/ci-operator/step-registry/jira-agent/setup/jira-agent-setup-commands.sh
old mode 100755
new mode 100644
similarity index 51%
rename from ci-operator/step-registry/hypershift/jira-agent/setup/hypershift-jira-agent-setup-commands.sh
rename to ci-operator/step-registry/jira-agent/setup/jira-agent-setup-commands.sh
index 94cc7c5d99139..145cd3035294f
--- a/ci-operator/step-registry/hypershift/jira-agent/setup/hypershift-jira-agent-setup-commands.sh
+++ b/ci-operator/step-registry/jira-agent/setup/jira-agent-setup-commands.sh
@@ -1,10 +1,16 @@
#!/bin/bash
set -euo pipefail
-echo "=== HyperShift Jira Agent Setup ==="
+echo "=== Jira Agent Setup ==="
# Verify Claude Code is available (Vertex AI authentication is handled via GOOGLE_APPLICATION_CREDENTIALS env var)
echo "Verifying Claude Code CLI..."
claude --version || { echo "ERROR: Claude Code CLI not found"; exit 1; }
+echo "Verifying Vertex AI credentials..."
+if [ -z "${GOOGLE_APPLICATION_CREDENTIALS:-}" ] || [ ! -r "${GOOGLE_APPLICATION_CREDENTIALS}" ]; then
+ echo "ERROR: GOOGLE_APPLICATION_CREDENTIALS is not set or not readable"
+ exit 1
+fi
+
echo "Setup complete"
diff --git a/ci-operator/step-registry/jira-agent/setup/jira-agent-setup-ref.metadata.json b/ci-operator/step-registry/jira-agent/setup/jira-agent-setup-ref.metadata.json
new file mode 100644
index 0000000000000..7615067e833c7
--- /dev/null
+++ b/ci-operator/step-registry/jira-agent/setup/jira-agent-setup-ref.metadata.json
@@ -0,0 +1,19 @@
+{
+ "path": "jira-agent/setup/jira-agent-setup-ref.yaml",
+ "owners": {
+ "approvers": [
+ "bryan-cox",
+ "csrwng",
+ "celebdor",
+ "enxebre",
+ "sjenning"
+ ],
+ "reviewers": [
+ "bryan-cox",
+ "csrwng",
+ "celebdor",
+ "enxebre",
+ "sjenning"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/ci-operator/step-registry/hypershift/jira-agent/setup/hypershift-jira-agent-setup-ref.yaml b/ci-operator/step-registry/jira-agent/setup/jira-agent-setup-ref.yaml
similarity index 67%
rename from ci-operator/step-registry/hypershift/jira-agent/setup/hypershift-jira-agent-setup-ref.yaml
rename to ci-operator/step-registry/jira-agent/setup/jira-agent-setup-ref.yaml
index 7aa6338f82932..60c5d35fe39de 100644
--- a/ci-operator/step-registry/hypershift/jira-agent/setup/hypershift-jira-agent-setup-ref.yaml
+++ b/ci-operator/step-registry/jira-agent/setup/jira-agent-setup-ref.yaml
@@ -1,7 +1,7 @@
ref:
- as: hypershift-jira-agent-setup
+ as: jira-agent-setup
from: claude-ai-helpers
- commands: hypershift-jira-agent-setup-commands.sh
+ commands: jira-agent-setup-commands.sh
env:
- name: CLAUDE_CODE_USE_VERTEX
default: "1"
@@ -28,10 +28,7 @@ ref:
name: hypershift-team-claude-prow
mount_path: /var/run/claude-code-service-account
documentation: |-
- Setup step for the HyperShift Jira agent periodic job.
- This step:
- - Clones the HyperShift repository
- - Configures git credentials for creating commits
- - Sets up GitHub CLI authentication
- - Verifies Claude Code CLI is available
- - Uses Vertex AI for Claude authentication via GCP service account
+ Generic setup step for the Jira agent periodic job.
+ Verifies Claude Code CLI is available.
+ Uses Vertex AI for Claude authentication via GCP service account.
+ Teams should override the credential secret name in their wrapper workflow.