Skip to content

Add documentation and tooling for creating sub-issues for REST API endpoints#520

Draft
Copilot wants to merge 7 commits intomainfrom
copilot/create-sub-issues-endpoints
Draft

Add documentation and tooling for creating sub-issues for REST API endpoints#520
Copilot wants to merge 7 commits intomainfrom
copilot/create-sub-issues-endpoints

Conversation

Copy link
Contributor

Copilot AI commented Jan 11, 2026

Issue #236 requests sub-issues for each endpoint in the GitHub REST API Sub-Issues documentation. This PR provides templates and automation to create those 5 sub-issues.

Files Added

  • docs/MANUAL_SUB_ISSUE_CREATION.md - Complete issue templates for all 5 endpoints (Get parent, Remove, List, Add, Reprioritize) with requirements following docs/script-generation-rules.md
  • docs/create-sub-issues-plan.md - Endpoint overview and metadata
  • tmp/README.md - Usage instructions for automation script
  • tmp/create-sub-issues-for-endpoints.sh - Bash script to create all issues via GitHub API and link them to parent Add support for sub issue REST API #236

Implementation

Each sub-issue template includes:

Three creation methods provided:

  1. Manual via GitHub web interface using provided templates
  2. Automated via bash script (requires .gh-api-examples.conf with GITHUB_TOKEN)
  3. GitHub CLI with example commands

Script automatically links created issues as sub-issues to #236 using POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues.

Original prompt

For all the endpoints in https://docs.github.com/en/enterprise-cloud@latest/rest/issues/sub-issues?apiVersion=2022-11-28 create a sub issue in this issue with the rules in docs/script-generation-rules.md


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: gm3dmo <4660778+gm3dmo@users.noreply.github.com>
Copilot AI and others added 5 commits January 11, 2026 08:25
…endpoints

Co-authored-by: gm3dmo <4660778+gm3dmo@users.noreply.github.com>
Co-authored-by: gm3dmo <4660778+gm3dmo@users.noreply.github.com>
Co-authored-by: gm3dmo <4660778+gm3dmo@users.noreply.github.com>
Co-authored-by: gm3dmo <4660778+gm3dmo@users.noreply.github.com>
Co-authored-by: gm3dmo <4660778+gm3dmo@users.noreply.github.com>
Copilot AI changed the title [WIP] Create sub-issues for all endpoints in GitHub Issues API Add documentation and tooling for creating sub-issues for REST API endpoints Jan 11, 2026
Copilot AI requested a review from gm3dmo January 11, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants