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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay