-
-
Save leo424y/91f91308cbece1bf5287b0264cdaf87d 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