Hello,
I’m currently trying to set up and use the API integration for Jira Service Management Cloud as documented here: https://support.atlassian.com/jira-service-management-cloud/docs/set-up-an-api-integration/
According to the documentation, I should be able to use the default API integration’s API key by including it in the Authorization header in this format:
<span>Authorization: GenieKey <API key></span>
However, when I attempt to make API requests using this header format, the calls fail to authenticate. I used a Global scope API integration for this purpose. Here's the CURL command I tried:
curl -H "Authorization: GenieKey <JSM_API_KEY>" 'https://api.atlassian.com/jsm/ops/api/<cloudID>/v1/integrations'
The response I got is the following:
{"code":401,"message":"Unauthorized"}
According to the docs, I should be able to manage JSM resources using this API Integration right:
What does the integration offer?
Through API integration, you can access Jira Service Management services to create alerts and configure users, on-call schedules, and teams for third-party applications.