List a parent's sub-issues with the list_sub_issues tool
Goal: see a parent issue’s sub-issues and how much of its work is complete.
Prerequisites
Section titled “Prerequisites”- The parent issue exists (it may have zero sub-issues — the tool still returns a valid, empty-total result).
-
Call
list_sub_issues:{ "owner": "your-org", "repo": "your-repo", "parentNumber": 101 } -
Read the response:
{"total": 2,"completed": 1,"percentCompleted": 50,"items": [{ "number": 102, "nodeId": "...", "title": "Redesign the welcome email", "state": "CLOSED" },{ "number": 103, "nodeId": "...", "title": "Add a product tour", "state": "OPEN" }]}
Verify it worked
Section titled “Verify it worked”total/completed/percentCompletedcome from GitHub’s ownsubIssuesSummary, so they match what the parent issue’s UI panel shows.- Close or reopen a listed sub-issue on GitHub, call the tool again, and
confirm
completed/percentCompletedupdate — this is GitHub-computed state, not anything this plugin tracks separately.
See also: tool reference.