jira-issue-relationships
Issue linking, blockers, and dependency analysis. TRIGGERS: 'what's blocking', 'what is blocking', 'is blocked by', 'link issues', 'link to', 'blockers for', 'depends on', 'clone issue', 'clone with', 'blocking chain', 'dependency graph', 'show dependencies', 'get blockers', 'relates to', 'duplicates'. Use for issue dependencies, relationships, and cloning. NOT FOR: epic linking (use jira-agile), field updates (use jira-issue), bulk cloning (use jira-bulk).
jira-assistant-skills · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add grandcamel/JIRA-Assistant-Skills --skill jira-issue-relationships技能说明
name: "jira-issue-relationships" description: "Issue linking, blockers, and dependency analysis. TRIGGERS: 'what's blocking', 'what is blocking', 'is blocked by', 'link issues', 'link to', 'blockers for', 'depends on', 'clone issue', 'clone with', 'blocking chain', 'dependency graph', 'show dependencies', 'get blockers', 'relates to', 'duplicates'. Use for issue dependencies, relationships, and cloning. NOT FOR: epic linking (use jira-agile), field updates (use jira-issue), bulk cloning (use jira-bulk)." version: "1.0.0" author: "jira-assistant-skills" license: "MIT" allowed-tools: ["Bash", "Read", "Glob", "Grep"]
jira-relationships
Issue linking and dependency management for JIRA - create, view, and analyze issue relationships.
Risk Levels
| Operation | Risk | Notes |
|---|---|---|
| Get link types | - | Read-only |
| Get links/blockers | - | Read-only |
| Get dependencies | - | Read-only |
| Link statistics | - | Read-only |
| Create link | - | Easily reversible (can unlink) |
| Create remote link | - | Adds a web link to the issue |
| Remove link | ! | Link data lost, can recreate |
| Bulk link | ! | Many links created, can remove |
| Clone issue | - | Creates new issue, can delete |
| Clone with subtasks | ! | Creates multiple issues |
Risk Legend: - Safe, read-only | ! Caution, modifiable | !! Warning, destructive but recoverable | !!! Danger, irreversible
When to use this skill
Use this skill when you need to:
- Link issues together (blocks, duplicates, relates to, clones)
- View issue dependencies and blockers
- Find blocker chains and critical paths
- Analyze issue relationships and dependencies
- Get link statistics for issues or projects
- Bulk link multiple issues
- Clone issues with their relationships
What this skill does
IMPORTANT: Always use the jira-as CLI. Never run Python scripts directly.
This skill provides issue relationship operations:
-
Get Link Types: View available link types in JIRA instance
- Lists all configured link types
- Shows inward/outward descriptions
- Filter by name pattern
-
Link Issues: Create relationships between issues
- Semantic flags for common types (--blocks, --relates-to, etc.)
- Support for all JIRA link types
- Remote (web) links to any URL via --remote-url
- Optional comment on link creation
- Dry-run mode for preview
-
View Links: See all relationships for an issue
- Filter by direction (inward/outward)
- Filter by link type
- Shows linked issue status and summary
-
Remove Links: Delete issue relationships
- Remove specific links between issues
- Remove all links of a type
- Dry-run and confirmation modes
-
Blocker Analysis: Find blocking dependencies
- Direct blockers for an issue
- Recursive blocker chain traversal
- Circular dependency detection
- Critical path identification
-
Dependency Graphs: Visualize relationships
- Export to DOT format for Graphviz
- Export to Mermaid diagrams
- Export to PlantUML format
- Export to D2 diagrams (Terrastruct)
- Transitive dependency tracking
-
Link Statistics: Analyze link patterns
- Stats for single issue or entire project
- Link breakdown by type and direction
- Find orphaned issues (no links)
- Identify most-connected issues
- Status distribution of linked issues
-
Bulk Operations: Link multiple issues at once
- Link from JQL query results
- Progress tracking
- Skip existing links
-
Clone Issues: Duplicate issues with relationships
- Copy fields to new issue
- Create "clones" link to original
- Optionally copy subtasks and links
Available Commands
| Command | Description |
|---|---|
jira-as relationships link-types | List available link types |
jira-as relationships link | Create link between issues, or a remote (web) link to a URL |
jira-as relationships get-links | View links for an issue |
jira-as relationships unlink | Remove issue links |
jira-as relationships get-blockers | Find blocker chain (recursive) |
jira-as relationships get-dependencies | Find all dependencies |
jira-as relationships stats | Analyze link statistics for issues/projects |
jira-as relationships bulk-link | Bulk link multiple issues |
jira-as relationships clone | Clone issue with links |
All commands support --help for full documentation.
Common Options
Most commands support these common options:
| Option | Description |
|---|---|
-o/--output FORMAT | Output format (see table below) |
--help | Show help message and exit (all commands) |
Output Formats by Command
| Command | Supported Formats |
|---|---|
link-types | text, json |
get-links | text, json |
get-blockers | text, json |
get-dependencies | text, json, mermaid, dot, plantuml, d2 |
stats | text, json |
bulk-link | text, json |
clone | text, json |
Note:
linkandunlinkproduce text output only - they do not accept-o/--output.
Examples
Quick Start - Common Operations
# View available link types in your JIRA instance
jira-as relationships link-types
jira-as relationships link-types --filter block
jira-as relationships link-types --output json
# Create links using semantic flags
jira-as relationships link PROJ-1 --blocks PROJ-2
jira-as relationships link PROJ-1 --is-blocked-by PROJ-2 # Inverse direction
jira-as relationships link PROJ-1 --duplicates PROJ-2
jira-as relationships link PROJ-1 --clones PROJ-2 # Mark as clone
jira-as relationships link PROJ-1 --relates-to PROJ-2
jira-as relationships link PROJ-1 --type "Blocks" --to PROJ-2
# Create a remote (web) link to any URL instead of a native issue link
jira-as relationships link PROJ-1 --remote-url https://example.com/runbook
jira-as relationships link PROJ-1 --remote-url https://example.
阅读完整来源 ↗