skills/jira-relationships/SKILL.md
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).
npx skillsauth add grandcamel/jira-assistant-skills jira-issue-relationshipsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Issue linking and dependency management for JIRA - create, view, and analyze issue relationships.
| 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) |
| 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
Use this skill when you need to:
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
Link Issues: Create relationships between issues
View Links: See all relationships for an issue
Remove Links: Delete issue relationships
Blocker Analysis: Find blocking dependencies
Dependency Graphs: Visualize relationships
Link Statistics: Analyze link patterns
Bulk Operations: Link multiple issues at once
Clone Issues: Duplicate issues with relationships
| Command | Description |
|---------|-------------|
| jira-as relationships link-types | List available link types |
| jira-as relationships link | Create link between issues |
| 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.
All commands support these common options:
| Option | Description |
|--------|-------------|
| -o/--output FORMAT | Output format (see table below) |
| --help | Show help message and exit |
| Command | Supported Formats |
|---------|-------------------|
| link-types | text, json |
| link | text, json |
| get-links | text, json |
| unlink | text, json |
| get-blockers | text, json |
| get-dependencies | text, json, mermaid, dot, plantuml, d2 |
| stats | text, json |
| bulk-link | text, json |
| clone | text, json |
# 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
# View and remove links
jira-as relationships get-links PROJ-123
jira-as relationships get-links PROJ-123 --direction outward
jira-as relationships unlink PROJ-1 PROJ-2
jira-as relationships unlink PROJ-1 PROJ-2 --dry-run
jira-as relationships unlink PROJ-1 --type blocks --all
# Clone an issue with its relationships
jira-as relationships clone PROJ-123 --clone-subtasks -l # -l is short for --clone-links
jira-as relationships clone PROJ-123 -p OTHER # -p is short for --to-project
jira-as relationships clone PROJ-123 --summary "Custom summary"
jira-as relationships clone PROJ-123 --no-link # Skip creating "clones" link
# Find blocker chains for sprint planning
jira-as relationships get-blockers PROJ-123 --recursive
jira-as relationships get-blockers PROJ-123 --recursive --include-done
jira-as relationships get-blockers PROJ-123 -r --depth 3 # Limit recursion depth (0 = unlimited)
jira-as relationships get-blockers PROJ-123 -r --depth 0 # Unlimited depth
jira-as relationships get-blockers PROJ-123 -d inward # -d/--direction: inward or outward
# Analyze dependencies (with link type filtering)
jira-as relationships get-dependencies PROJ-123
jira-as relationships get-dependencies PROJ-123 -t blocks,relates # -t/--type for filtering
# Link statistics - multiple modes
# KEY_OR_PROJECT: optional positional argument for issue key or project key
# -p/--project: alternative option to specify project for project-wide analysis
jira-as relationships stats PROJ-123 # Single issue stats (positional arg)
jira-as relationships stats PROJ # Project-wide stats (positional arg)
jira-as relationships stats -p PROJ # Project-wide stats (-p/--project option)
jira-as relationships stats --jql "type = Epic" # JQL-filtered stats
jira-as relationships stats -p PROJ -t 20 # Show top 20 connected (-t/--top)
jira-as relationships stats -p PROJ --max-results 100 # Limit issues analyzed
# Bulk link issues from JQL query (--output json for JSON output)
jira-as relationships bulk-link --jql "project=PROJ AND fixVersion=1.0" --relates-to PROJ-500 --dry-run
jira-as relationships bulk-link --issues PROJ-1,PROJ-2,PROJ-3 --blocks PROJ-100
jira-as relationships bulk-link --issues PROJ-1,PROJ-2 --blocks PROJ-100 --output json
jira-as relationships bulk-link --jql "sprint in openSprints()" --relates-to PROJ-500 --skip-existing # Skip already linked
# Export for documentation (Mermaid for GitHub/GitLab)
jira-as relationships get-dependencies PROJ-123 --output mermaid
# Export for publication (Graphviz)
jira-as relationships get-dependencies PROJ-123 --output dot > deps.dot
dot -Tpng deps.dot -o deps.png
# Export for PlantUML
jira-as relationships get-dependencies PROJ-123 --output plantuml > deps.puml
# Export for D2/Terrastruct
jira-as relationships get-dependencies PROJ-123 --output d2 > deps.d2
d2 deps.d2 deps.svg
Use jira-as relationships get-dependencies with --output flag to generate diagrams:
text (default), json, mermaid (GitHub docs), dot (Graphviz), plantuml, d2jira-as relationships get-dependencies --help for rendering instructionsStandard JIRA link types and when to use them:
| Link Type | Outward | Inward | When to Use | |-----------|---------|--------|-------------| | Blocks | blocks | is blocked by | Sequential dependencies: Task A must finish before B starts | | Duplicate | duplicates | is duplicated by | Mark redundant issues; close the duplicate | | Relates | relates to | relates to | General association; cross-team awareness | | Cloners | clones | is cloned by | Issue templates; multi-platform variants |
Link Direction: When A blocks B, A is "outward" (blocks) and B is "inward" (is blocked by).
Use --blocks when source issue blocks target; use --is-blocked-by when source is blocked by target.
Note: Issue links are labels only - they do not enforce workflow rules. Combine with automation or team discipline.
| Code | Description | |------|-------------| | 0 | Success | | 1 | Error (validation failed, API error, or issue not found) |
jira-as relationships link-types to see available link types--max-results to limit JQL query resultsRequires JIRA credentials via environment variables (JIRA_SITE_URL, JIRA_EMAIL, JIRA_API_TOKEN).
For strategic guidance on blocker chains, circular dependencies, cross-project linking, and visualization strategies, see Patterns Guide.
data-ai
Time tracking, worklogs, and time reports. TRIGGERS: 'log time', 'time spent on', 'log hours', 'log work', 'worklog', 'time tracking', 'timesheet', 'how much time', 'time logged', 'time report', 'export timesheet', 'set estimate', 'remaining estimate', 'original estimate'. Use for time-related queries and operations on issues. NOT FOR: SLA tracking (use jira-jsm), date-based issue searches (use jira-search), issue field updates unrelated to time (use jira-issue).
tools
Find issues by criteria (status, assignee, priority, etc.) using JQL. Create filters, export results to CSV/JSON, bulk update. Ideal for reporting and automation.
development
JIRA cache and performance operations. TRIGGERS: 'warm the cache', 'warm cache', 'cache status', 'clear cache', 'cache warm', 'cache for project', 'discover project', 'project discovery', 'cache hit rate', 'optimize performance', 'rate limit'. Use for JIRA API performance optimization and project context discovery. NOT FOR: project configuration/settings (use jira-admin), issue operations (use jira-issue), bulk issue modifications (use jira-bulk).
tools
Manage issue lifecycle through workflow transitions and status changes. Control who does what and when via assignments, versions, and components.