Added jira notes to the knowledge base

This commit is contained in:
Michele Cereda
2022-04-18 00:12:04 +02:00
parent e2a3b5caa6
commit f55ec081b2

28
knowledge base/jira.md Normal file
View File

@@ -0,0 +1,28 @@
# Jira
```shell
# create a ticket
curl https://${COMPANY}.atlassian.net/rest/api/2/issue \
-D - \
-u ${USER_EMAIL}:${API_TOKEN} \
-H "Content-Type: application/json" \
-X POST \
--data '{
"fields": {
"project": {
"key": "PROJECT_KEY"
},
"summary": "REST ye merry gentlemen.",
"description": "Creating of an issue using project keys and issue type names using the REST API",
"issuetype": {
"name": "Task"
}
}
}'
```
## Further readings
- [Creating JIRA issue using curl from command line]
[creating jira issue using curl from command line]: https://stackoverflow.com/questions/31052721/creating-jira-issue-using-curl-from-command-line#31052990