Forums

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

Call JSM Rest API from a 3rd party service

beeam17
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!
March 26, 2025

I want to call some of JSM Rest APIs (write and read) from my Java Service that is not related to atlassian. Can I use basic auth to do that? It will touch my JSM Project only

1 answer

1 accepted

2 votes
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 26, 2025

Hi @beeam17 

Welcome to the community.

Yes you can use basic auth. You will need to have a user in JSM with access to the project and create an API token for this user.

I recommend to create a service user for this and not use your own account.

Information on basic auth; basic-auth-for-rest-apis 

beeam17
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!
March 26, 2025

Hi @Marc - Devoteam 

Many thanks for the reply

what do you mean by service user? Add specific user for api calls? And you its api token?

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 27, 2025

Hi @beeam17 

Yes add a specific user and use its API token.

Like beeam17 likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events