Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
JIRA API call to create ticket.txt
1. create basic authentication header :
by base 64 encoded string of username:password (your jira username and password)
2. Add authorization header to the request:
Authorization: Basic ZnJlZDpmcmVk
3. Content-Type: application/json
4. request url:
5. request body:
"fields": {
"key": "CRS"
"summary": "REST Bug EXAMPLE",
"description": "Creating an issue via REST API",
"issuetype": {
"name": "Bug"
In the issuetype there will be following three values:
New Feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.