Skip to content
Back to skills

Rhdh Cve Pr Jira Link

ASecurity

Daily playbook that finds Dependabot/CVE bump PRs for New/Review ProdSec RHIDP tickets, adds a Jira remote link + comment, transitions New → Review (open PR) or Release Pending (merged), advances Review → Release Pending when the PR merges, and sets Fix Version from the next unreleased z-stream label. Use for "link CVE bump PRs to Jira", "run cve-pr-jira-link", "run rhdh-cve-pr-jira-link", Chai scheduled CVE PR sync, or RHIDP ticket status from rhdh-plugins PRs. Plugins first; rhdh hub/core i...

  • 21 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
developmentnodegitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add redhat-developer/rhdh-skill --skill rhdh-cve-pr-jira-link --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rhdh Cve Pr Jira Link?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rhdh Cve Pr Jira Link
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/redhat-developer-rhdh-cve-pr-jira-link/badge)](https://www.skillsdirectory.com/skills/redhat-developer-rhdh-cve-pr-jira-link)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rhdh-cve-pr-jira-link
description: >-
  Daily playbook that finds Dependabot/CVE bump PRs for New/Review ProdSec
  RHIDP tickets, adds a Jira remote link + comment, transitions New → Review
  (open PR) or Release Pending (merged), advances Review → Release Pending when
  the PR merges, and sets Fix Version from the next unreleased z-stream label.
  Use for "link CVE bump PRs to Jira", "run cve-pr-jira-link", "run
  rhdh-cve-pr-jira-link", Chai scheduled CVE PR sync, or RHIDP ticket status
  from rhdh-plugins PRs. Plugins first; rhdh hub/core is a planned extension.
  Not for closing Not-a-Bug (plugins CVE triager) or Dependabot dismiss.
compatibility: >-
  Persona with authenticated GitHub and Jira tools (Chai or interactive). No
  JIRA_EMAIL / JIRA_API_TOKEN / GITHUB_TOKEN required on the Chai path.
  Report-only by default. /mutation-gate before interactive write-mode runs
  that are not an approved Chai write schedule. Optional local Node 22 scripts
  under scripts/ for human soak only — never the Chai entrypoint.
---

# CVE PR → Jira link

Persona playbook (preferred host: **Chai** daily task). For each **New** or
**Review** ProdSec ticket on Update Stream **2.1+** (not 1.10), find a matching
`rhdh-plugins` bump PR whose **Fully fixed** table lists the ticket package +
CVE, then link it, advance status, and set Fix Version. Review tickets are
rechecked daily until the PR merges → **Release Pending**.

Describe **what** to match and change. Use the persona’s built-in GitHub and
Jira tools for **how**. Do not run `scripts/run_sync.sh` or `scripts/sync.ts` on
Chai — those need env credentials Chai does not inject.

## Route

| Intent | Load |
| --- | --- |
| Run sync (Chai / persona) | [workflows/run-sync.md](workflows/run-sync.md) |
| Hosting, field grant, local scripts | [references/chai-run.md](references/chai-run.md) |
| Matching and comment templates | [references/matching.md](references/matching.md) |

## Do not reimplement

Follow [workflows/run-sync.md](workflows/run-sync.md). Do not invent Fix Versions
or hand-link tickets outside this playbook. Next z-stream comes from RHIDP
project versions (`released=false`); PR discovery requires that exact semver
label on the PR.

## Writing rules

- **Report-only** (default): produce the required summary; do not create
  remotelinks, comments, transitions, or Fix Version changes.
- **Write mode**: only when the task/operator explicitly enables writes. Cite
  `/mutation-gate` before interactive write-mode runs. An approved Chai write
  schedule after the RHIDP field grant is an approved host path.
- Allowed RHIDP changes: remotelink to the bump PR, comment, status
  (New→Review; New/Review→Release Pending), Fix Version only.
- Never put credentials in reports or logs.

## Scope

| Now | Later |
| --- | --- |
| `redhat-developer/rhdh-plugins` | `redhat-developer/rhdh` (hub/core) |

Out of scope: Downstream Components `rhdh/backstage-*` /
`rhdh/backstage-community-*` (upstream Backstage / community-plugins). Partial
leftovers matching is deferred until bump PRs include CVE ids on those rows.

## Completion

Complete when the four-part summary is delivered: candidates considered,
matched pairs with intended (or applied) actions, skipped with reason, and
errors. Every match row includes Jira key, PR URL, stream, workspace, package,
CVE, next Fix Version, current→target status, and remotelink/comment/Fix
Version disposition. No token in output.

Files in this skill

  • SKILL.md3.4 KB
  • agents/openai.yaml135 B
  • references/chai-run.md3 KB
  • references/matching.md3.9 KB
  • scripts/candidates.ts6.6 KB
  • scripts/github_prs.ts6.8 KB
  • scripts/jira_client.ts9.6 KB
  • scripts/run_sync.sh1.2 KB
  • scripts/sync.ts11.7 KB
  • scripts/versions.ts2.8 KB
  • scripts/workspace_map.ts6.7 KB
  • tests/cve-pr-jira-link.test.mjs15.2 KB
  • workflows/run-sync.md3.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.