Skip to content

Instantly share code, notes, and snippets.

@augustovictor
Created January 19, 2020 18:15
Show Gist options
  • Save augustovictor/71756c52f257cd5ef8647302fdfcae7f to your computer and use it in GitHub Desktop.
Save augustovictor/71756c52f257cd5ef8647302fdfcae7f to your computer and use it in GitHub Desktop.
curl --request POST \
--url 'your-jira-org/rest/api/3/issue' \
--user 'your-jira-email:your-jira-api-key' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"fields": {
"summary": "Summit 2019 is awesome!",
"issuetype": {
"name": "Bug"
},
"project": {
"key": "SC"
},
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"text": "This is the description.",
"type": "text"
}
]
}
]
}
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment