Skip to content

Instantly share code, notes, and snippets.

@leo424y
Forked from RickCogley/create-github-issue.sh
Created October 18, 2020 02:07
Show Gist options
  • Save leo424y/91f91308cbece1bf5287b0264cdaf87d to your computer and use it in GitHub Desktop.
Save leo424y/91f91308cbece1bf5287b0264cdaf87d to your computer and use it in GitHub Desktop.
Curl Script to Create a Github Issue
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