Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create an API Token for bot

Carlo Palacio
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 14, 2025

Hi all,

I am migrating my OpsGenie Heartbeats to start using the JSM Endpoint, however the Genie token does not work with the JSM endpoint and the documentation suggests to use user@email:api-token.

Is it possible to generate an API Token for a non-user? I don't think is a good approach to use user tokens for heartbeats.

1 answer

0 votes
Gabriel Teixeira
Contributor
February 14, 2025

Hello Carlo!
To generate a token you'll have to have a valid user, because the scope is setwith this user permission.

Other way to consume Rest API in Jira is creating an APP, so you could use Auth2.0. 

 

Ypu could use this doc to achieve it:
Jira Service Management scopes for OAuth 2.0 (3LO) and Forge apps

And in Jira SM API you have the list os scopes needed for each API:
scope api.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events