Rhdh Cve Pr Jira Link
ASecurityDaily 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
Works with
Security analysis
100/100Pro scans all 13 files and shows the line behind each finding
npx -y skills add redhat-developer/rhdh-skill --skill rhdh-cve-pr-jira-link --agent claude-codeAre you the author of Rhdh Cve Pr Jira Link?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/redhat-developer-rhdh-cve-pr-jira-link)---
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.md
- agents/openai.yaml
- references/chai-run.md
- references/matching.md
- scripts/candidates.ts
- scripts/github_prs.ts
- scripts/jira_client.ts
- scripts/run_sync.sh
- scripts/sync.ts
- scripts/versions.ts
- scripts/workspace_map.ts
- tests/cve-pr-jira-link.test.mjs
- workflows/run-sync.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.