rhdh-jira-link
Ties a GitHub pull request or GitLab merge request to an RHDH Jira issue in RHIDP, RHDHPLAN, RHDHBUGS, or RHDHSUPP: attach the Jira Web link titled `repo #N…
Skill by redhat-developer
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/redhat-developer-rhdh-jira-link
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 4
codeload.github.com· found in install commandgithub.githubassets.com· found in codegitlab.com· found in coderedhat.atlassian.net· found in code
Files it touches
~/.claude/skills/rhdh-jira-link- Your home directory (~)
What's inside
- Skill name
rhdh-jira-link- Description
- Ties a GitHub pull request or GitLab merge request to an RHDH Jira issue in RHIDP, RHDHPLAN, RHDHBUGS, or RHDHSUPP: attach the Jira Web link titled `repo #N: <title>`, post or update the structured comment, fill empty issue fields, move an RHDHPLAN Epic, Story, or Task to RHIDP, and mark a Web link merged or closed. Raises the PR or MR first when one does not exist yet. Use for "link this PR to RHIDP-1234", "attach the MR to the Jira issue", "mark the Web links merged", "mark closed PRs", replacing a hand-rolled remotelink or comment step, or a PR outside the rhdh-plugins and community-plugins monorepo flow. The full monorepo flow — build, changeset, recordings — is rhdh-pr-create.
- License
- Apache-2.0
- Compatibility
- Node on PATH; gh for GitHub and glab for GitLab; a Jira API token via JIRA_API_TOKEN or the .jira-token file acli uses.
- Instructions
- 232 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Files (8)
- SKILL.md
- openai.yaml · agents/
- config.example.json
- raise-pr-integration.md · references/
- create-pr-mr.js · scripts/
- lib.js · scripts/
- link-pr-mr.js · scripts/
- lib.test.mjs · tests/
SKILL.md (first lines)
# Jira PR / MR links Zero-token Node scripts for **GitHub and GitLab**: create the PR/MR, attach a Jira remote Web link, post or update a structured comment, and optionally fill empty issue fields. Scripts live under this skill's `scripts/` directory. Resolve that path from the installed skill root (agents already have it when reading this file): ```bash SKILL="$(cd "$(dirname "$0")" && pwd)" # or the absolute path to this skill root node "$SKILL/scripts/create-pr-mr.js" … node "$SKILL/scripts/link-pr-mr.js" … ``` Another skill that needs the link step invokes `/rhdh-jira-link` by name and lets this skill run its own scripts; it never calls into this directory by path. ## Preferred: one-shot create (`create-pr-mr.js`) After the feature branch is committed: Compose the reviewer-facing PR or MR title and body, then invoke `/prose-editing` once on both in the **flavored** register. Preserve Jira keys, closing syntax, headings, checklists, links, and the required `Generated-by` line. Pass the edited strings to `create-pr-mr.js`; it is a transport layer and must not edit them. The structured Jira link comment created later is a protocol payload and does not receive this prose pass. ```bash node "$SKILL/scripts/create-pr-mr.js" \ --issue RHIDP-12345 \ --title 'fix: short summary' \ --target main \ --body "$(cat <<'EOF' ## Summary - … ## Test plan - [ ] … Generated-by: cursor EOF )" ``` 1. `git push -u origin HEAD` (unless `--no-push`) 2. Detects GitHub vs GitLab from `origin` 3. Runs `gh pr create` or `glab mr create` 4. Runs `link-pr-mr.js link` (unless `--no-link`). Missing Jira auth is an error; pass `--no-link` to skip linking. 5. Opens the diffs page (unless `--no-open`) Flags: `--draft`, `--no-push`, `--no-link`, `--no-open`, `--no-defaults`, `--no-comment`, `--no-jira-ref`, `--host github|gitlab`. ### Auth Either works (same token either way): 1. `JIRA_API_TOKEN` + `login`/`server` in `~/.config/.jira/.config.yml`, or 2. `.jira-token` (`email:token`) next to `acli` — the same credential `/rhdh-jira-api` uses. Invoke `/rhdh-jira-api` by name for the authoritative auth setup instead of duplicating it here. `create-pr-mr.js` appends `Ref: https://redhat.atlassian.net/browse/KEY` and `Generated-by: cursor` to the **PR/MR body** when missing. It skips the Jira `Ref:` line for `community-plugins` remotes (or when `--no-jira-ref` is set) so that repo stays free of Jira browse URLs in git history / PR text. ## Link-only: `link-pr-mr.js` When a PR/MR already exists: ```bash node "$SKILL/scripts/link-pr-mr.js" link \ --issue RHIDP-12345 \ --url 'https://gitlab.cee.redhat.com/rhidp/example/-/merge_requests/817' \ --title 'example #817: fix: short summary' \ --host gitlab ``` - `--host` optional; inferred from URL when omitted. - `--no-defaults` skips In Progress + metadata fills (Web link + comment still run). - `--no-comment` skips the Jira comment. - If a comment already mentions the PR/MR URL, it is **updated** in place (comments are paginated). ### RHDHPLAN → RHIDP auto-move If the linked issue is an **Epic**, **Story**, or **Task** in **RHDHPLAN**, `link` moves it to **RHIDP** (same issue type) via the Jira bulk-move API, then continues Web link / defaults / comment on the **new** key. Features and other RHDHPLAN types are left alone. Stdout includes `move: …` and the post-move `issue:` key. Comment shape (only **newly set** fields; omit `kept` values): ``` PR: https://github.com/org/repo/pull/123 ``` or, for GitLab: ``` MR: https://gitlab.cee.redhat.com/group/repo/-/merge_requests/817 ``` Then, when any defaults were newly set: ``` Adjusted fields: * Priority: Normal * Status: In Progress ``` The Web link title remains `repo #N: <title>` (unchanged).
From redhat-developer/rhdh-skills, Apache-2.0.
More from redhat-developer/rhdh-skills
- 0.641score
rhdh-plugin-nfs-migration
redhat-developer
Converts a legacy Backstage frontend plugin used by Red Hat Developer Hub to the New Frontend System (NFS): replace createPlugin and createRoutableExtension…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-local
redhat-developer
Operates a local Red Hat Developer Hub environment with the rhdh-local-setup customization system: enable or disable dynamic plugins, apply configuration…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-base-images
redhat-developer
Analyzes and updates the `FROM` base images, Node headers, Go toolchain, and `rpms.lock.yaml` files in rhdh, rhdh-operator, and rhdh-must-gather; pin…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-plugin-bug-fix
redhat-developer
Reproduces, diagnoses, and fixes a defect in a Backstage plugin inside the rhdh-plugins or community-plugins repositories: resolve the report from a RHIDP…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-backport
redhat-developer
Automate the RHDH plugin backport process from PR cherry-pick to changelog.
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-yarn-bump
redhat-developer
Bumps Yarn Berry across the RHDH repos — rhdh-plugins, rhdh midstream, rhdh-plugin-export-overlays, rhdh-cli, and GitLab CEE rhidp/rhdh and…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-jira-create
redhat-developer
Opens new work in RHDH Jira and decides what kind of work it is — Feature or Feature Request in RHDHPLAN, Epic, Story, Task, Spike or Vulnerability in RHIDP…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-pr-mr
redhat-developer
Pushes a topic branch and opens a GitHub pull request or GitLab CEE merge request for CI and agent automation, then links Jira via /rhdh-jira-link only when…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-konflux-tasks
redhat-developer
Bumps Konflux Tekton task bundle digests in `.tekton` and `.tekton-templates`, applies each task's MIGRATION.md, regenerates PipelineRuns, and checks pins…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-overlay
redhat-developer
Manages the rhdh-plugin-export-overlays repository and Extensions Catalog: onboard plugins, update upstream versions, repair export or publish failures…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-plugin-catalog-index-status-and-update-flow
redhat-developer
Reports Red Hat Developer Hub plugin catalog index status for a release branch or x.y.z and updates the downstream quay.io/rhdh/plugin-catalog-index after you…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-forge
redhat-developer
Reads GitHub and GitLab and constructs unexecuted forge payloads for the other RHDH skills: parse an issue, pull request, or merge request reference, fetch…
SkillAFreshness: A★ 18Claude Code +9
Signals
- Stars
- 18
- Forks
- 40
- Open issues
- 1
- Last commit (this folder)
- Oct 8, 2026 (20 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/redhat-developer/rhdh-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from redhat-developer
- 0.641score
rhdh-base-images
redhat-developer
Analyzes and updates the `FROM` base images, Node headers, Go toolchain, and `rpms.lock.yaml` files in rhdh, rhdh-operator, and rhdh-must-gather; pin…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-konflux-tasks
redhat-developer
Bumps Konflux Tekton task bundle digests in `.tekton` and `.tekton-templates`, applies each task's MIGRATION.md, regenerates PipelineRuns, and checks pins…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-plugin-catalog-index-status-and-update-flow
redhat-developer
Reports Red Hat Developer Hub plugin catalog index status for a release branch or x.y.z and updates the downstream quay.io/rhdh/plugin-catalog-index after you…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-pr-mr
redhat-developer
Pushes a topic branch and opens a GitHub pull request or GitLab CEE merge request for CI and agent automation, then links Jira via /rhdh-jira-link only when…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-yarn-bump
redhat-developer
Bumps Yarn Berry across the RHDH repos — rhdh-plugins, rhdh midstream, rhdh-plugin-export-overlays, rhdh-cli, and GitLab CEE rhidp/rhdh and…
SkillAFreshness: A★ 18Claude Code +9 - 0.641score
rhdh-jira-create
redhat-developer
Opens new work in RHDH Jira and decides what kind of work it is — Feature or Feature Request in RHDHPLAN, Epic, Story, Task, Spike or Vulnerability in RHIDP…
SkillAFreshness: A★ 18Claude Code +9
Cite this page
rhdh-jira-link skill. Agent Mart. https://agentmart.dev/skills/redhat-developer-rhdh-jira-link (last updated 2026-10-24)