How to connect spring boot application with jira to create/edit issues


I want to connect spring boot application with jira using rest api. I am using package jira-rest-java-client-core in spring boot. But don’t know how to authenticate because jira is company specific and we are using Microsoft SSO.

I create api token but don’t know where and how to use.

Can anybody help me.


Hi @deepakkumar, API tokens on Jira Cloud can be used using basic auth method, where the username is your email address and your password is the token.

More information about API tokens can be found here: Manage API tokens for your Atlassian account | Atlassian Support

Does this help? If not, are you running on Jira Cloud or on-premises with Jira Server / Data Center?