DEV Community

Cover image for Getting Started With Jira Cloud API
lburrack
lburrack

Posted on

Getting Started With Jira Cloud API

Step 1 - Generate API token

Generate the token in the following link 🚶
https://id.atlassian.com/manage-profile/security/api-tokens

Step 2 - Generate base 64 Token to use for authentication

https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/#supply-basic-auth-headers

encode the following string <jira_useremail>:<api_token> to base 64

Step 3 - Make a request

For example, this is how you can get a specific Jira issue

Url: https://<your_domain>.atlassian.net/rest/api/3/issue/
Headers:
   Content-Type: application/json
   Authorization: Basic <your_base_64_token_here>
Method: GET
Enter fullscreen mode Exit fullscreen mode

Checkout more information about the different APIs

Top comments (0)