Last active
May 13, 2024 08:23
-
-
Save RickCogley/14e5a4c2ffec1d06606a554cdd5033d9 to your computer and use it in GitHub Desktop.
Curl Script to Create a Github Issue
This file contains 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
curl -X "POST" "https://api.github.com/repos/rickcogley/REPONAME/issues?state=all" \ | |
-H "Cookie: logged_in=no" \ | |
-H "Authorization: token THEd13GITHUBfb87TOKENa4FROM5eSETTINGS" \ | |
-H "Content-Type: text/plain; charset=utf-8" \ | |
-d $'{ | |
"title": "A workflow alerts Operator who performs a process", | |
"body": "TBD", | |
"milestone": 5, | |
"assignees": [ | |
"RickCogley", | |
"NathanielPhillips" | |
], | |
"labels": [ | |
"story", | |
"#2", | |
"enhancement", | |
"production" | |
] | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Via the API? I don't see anything that indicates that's possible, in the spec: https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#create-an-issue