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
atlassian, jira service management, devops, ship quality code, atlassian webinar, continuous delivery, integrated workflows, change management, developer productivity, agile teams, atlassian community events, ace, atlassian learning

Ship quality code faster with Jira Service Management ✨

In the wake of growing customer expectations, development teams are facing more pressure to deliver innovations faster. Register for this 45-minute webinar to learn how devs can accelerate software delivery and time-to-market with Jira Service Management.

Register now 🚀
AUG Leaders

Atlassian Community Events