jira_get_issue_graph
Build a dependency graph from a Jira issue to visualize its relationships, including parent/child hierarchy, blockers, and linked issues, with 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) | |
| includeHierarchy | No | Include parent/child/subtask edges (default: true) | |
| linkTypes | No | Filter to specific link types (e.g., ["Blocks", "Relates"]). If omitted, includes all link types. | |
| direction | No | Which link directions to follow: "all", "inward", or "outward" (default: "all") | all |