jira_get_issue_graph
Map Jira issue dependencies from any issue to visualize parent/child, blocks, relates to, and duplicates across epics, stories, and subtasks. Includes a Mermaid diagram.
Instructions
Build a dependency/relationship graph starting from a seed issue. Returns a map of connected issues (parent/child hierarchy, blocks, relates to, duplicates, etc.) with nodes and edges, plus a Mermaid diagram for visualization. Use this to understand how issues are connected across epics, stories, and subtasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueKey | Yes | Seed issue key to start graph traversal from (e.g., PROJECT-123) | |
| maxDepth | No | Maximum BFS traversal depth from seed issue (default: 2, max: 5) | |
| maxNodes | No | Maximum number of nodes to include in the graph (default: 50, max: 200) | |
| direction | No | Which link directions to follow: "all", "inward", or "outward" (default: "all") | all |
| linkTypes | No | Filter to specific link types (e.g., ["Blocks", "Relates"]). If omitted, includes all link types. | |
| includeHierarchy | No | Include parent/child/subtask edges (default: true) |