Add GitHub issue creation endpoint via REST POST with dynamic auth token handling - #658
Open
conorheffron with Copilot wants to merge 8 commits into
Open
Add GitHub issue creation endpoint via REST POST with dynamic auth token handling#658conorheffron with Copilot wants to merge 8 commits into
conorheffron with Copilot wants to merge 8 commits into
Conversation
Contributor
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Agent-Logs-Url: https://github.com/conorheffron/ironoc/sessions/a0ca59de-d0bc-445d-9982-7213bec1df7b Co-authored-by: conorheffron <8218626+conorheffron@users.noreply.github.com>
Agent-Logs-Url: https://github.com/conorheffron/ironoc/sessions/a0ca59de-d0bc-445d-9982-7213bec1df7b Co-authored-by: conorheffron <8218626+conorheffron@users.noreply.github.com>
Agent-Logs-Url: https://github.com/conorheffron/ironoc/sessions/a0ca59de-d0bc-445d-9982-7213bec1df7b Co-authored-by: conorheffron <8218626+conorheffron@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Integrate GitHub POST issue API call
Add GitHub issue creation endpoint via REST POST with dynamic auth token handling
May 16, 2026
conorheffron
marked this pull request as ready for review
May 16, 2026 14:56
conorheffron
approved these changes
Jul 4, 2026
Owner
|
@copilot resolve the merge conflicts in this pull request |
Contributor
Author
Conflicts are resolved on this branch. It is up to date with |
…forgery' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds backend support for creating GitHub issues through the GitHub REST API (
POST /repos/{owner}/{repo}/issues) and addresses the prerequisite for dynamic token handling in POST calls. It extends the existing read-only issue integration with a write path while preserving existing URL safety checks.API surface: add create-issue endpoint
POST /api/create-repo-issue/{username}/{repository}/inGitProjectsController.Service layer: orchestrate issue creation
createIssue(userId, repo, requestBody)toGitDetails/GitDetailsService.GitHub client: implement POST call
createGitHubIssue(...)toClient/GitClient.Accept: application/vnd.github+jsonX-GitHub-Api-Version: 2022-11-28Content-Type: application/jsonAuth and outbound hardening
Data model additions
RepositoryIssueCreateDomainandRepositoryIssueCreateDtowith support for:title,body,assignees,milestone,labelsWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
ads.mozilla.org/usr/lib/firefox/firefox /usr/lib/firefox/firefox --marionette -headless -no-remote -profile /tmp/rust_mozprofileADoJkb(dns block)/usr/lib/firefox/firefox /usr/lib/firefox/firefox --marionette --headless --disable-gpu --window-size=1920,1080 -no-remote -profile /tmp/rust_mozprofile7wbbDC(dns block)/usr/lib/firefox/firefox /usr/lib/firefox/firefox --marionette --headless --disable-gpu --window-size=1920,1080 -no-remote -profile /tmp/rust_mozprofileTWSiKv(dns block)detectportal.firefox.com/usr/lib/firefox/firefox /usr/lib/firefox/firefox --marionette -headless -no-remote -profile /tmp/rust_mozprofileADoJkb(dns block)/usr/lib/firefox/firefox /usr/lib/firefox/firefox --marionette --headless --disable-gpu --window-size=1920,1080 -no-remote -profile /tmp/rust_mozprofile7wbbDC(dns block)/usr/lib/firefox/firefox /usr/lib/firefox/firefox --marionette --headless --disable-gpu --window-size=1920,1080 -no-remote -profile /tmp/rust_mozprofileTWSiKv(dns block)firefox.settings.services.mozilla.com/usr/lib/firefox/firefox /usr/lib/firefox/firefox --marionette -headless -no-remote -profile /tmp/rust_mozprofileADoJkb(dns block)/usr/lib/firefox/firefox /usr/lib/firefox/firefox --marionette --headless --disable-gpu --window-size=1920,1080 -no-remote -profile /tmp/rust_mozprofile7wbbDC(dns block)/usr/lib/firefox/firefox /usr/lib/firefox/firefox --marionette --headless --disable-gpu --window-size=1920,1080 -no-remote -profile /tmp/rust_mozprofileTWSiKv(dns block)ironoc.net/usr/lib/firefox/firefox /usr/lib/firefox/firefox --marionette -headless -no-remote -profile /tmp/rust_mozprofileADoJkb(dns block)support.mozilla.org/usr/lib/firefox/firefox /usr/lib/firefox/firefox --marionette --headless --disable-gpu --window-size=1920,1080 -no-remote -profile /tmp/rust_mozprofile7wbbDC(dns block)/usr/lib/firefox/firefox /usr/lib/firefox/firefox --marionette --headless --disable-gpu --window-size=1920,1080 -no-remote -profile /tmp/rust_mozprofileTWSiKv(dns block)www.ironoc.net/usr/lib/firefox/firefox /usr/lib/firefox/firefox --marionette -headless -no-remote -profile /tmp/rust_mozprofileADoJkb(dns block)If you need me to access, download, or install something from one of these locations, you can either: