LearnNewsExamplesServices
Frontmatter
id7249
titleAutomate GitHub Issue Creation
stateClosed
labels
enhancement
assigneestobiu
createdAtSep 24, 2025, 11:23 AM
updatedAtNov 15, 2025, 10:45 AM
githubUrlhttps://github.com/neomjs/neo/issues/7249
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 15, 2025, 10:45 AM

Automate GitHub Issue Creation

Closed v11.4.0 enhancement
tobiu
tobiu commented on Sep 24, 2025, 11:23 AM

To improve the autonomy of our development workflow, we will automate the process of creating a GitHub issue from a local ticket file. This eliminates the current manual steps of creating the issue on the GitHub website and copying the ID back into the local file.

Goal

Implement a workflow where the agent can use the GitHub CLI (gh) to create a new issue and update the local ticket file accordingly.

Requirements:

  1. Use GitHub CLI: The automation will be built around the gh issue create command.

  2. Separate Title and Body: When creating the issue, the ticket's title must be passed to the --title flag, and the ticket's content (excluding the title) must be passed as the body. This avoids duplicating the title within the GitHub issue body.

  3. Rename Local File: After the GitHub issue is successfully created and its ID is retrieved, the local markdown ticket file must be renamed to include the issue number as a prefix. The agreed-upon format is: gh<ID>-<slugified-title>.md.

  4. Update File Content: The new GitHub issue number and URL must be prepended to the content of the newly renamed local file.

Prerequisites:

The user's environment must have the GitHub CLI (gh) installed and authenticated via gh auth login.

tobiu assigned to @tobiu on Sep 24, 2025, 11:23 AM
tobiu added the enhancement label on Sep 24, 2025, 11:23 AM
tobiu referenced in commit 0cadcca - "#7249 internal ticket" on Sep 24, 2025, 11:24 AM
ksanjeev284 cross-referenced by #1 on Oct 5, 2025, 1:36 PM
tobiu
tobiu Nov 15, 2025, 10:45 AM

already resolved.

tobiu closed this issue on Nov 15, 2025, 10:45 AM