Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to get the API token in jira data center and also how to get the logged in user details?

shalini M
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 11, 2020

Hi Team,

I have installed Jira data center server with the username/password as admin/admin locally.

I have created a refapp for which I need to get the data using my APIs. I need an API token for this.

I would like to know how to get the API token in data center. 

I did check the document for OAuth but I want to know if there is any API available to get the API token and fetch the user details on who has logged into the Jira Data Center.

 

 

 

1 answer

1 vote
Roman Bubiakin _Wombats Corp_
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.
August 7, 2020

Hi @shalini M,

Unfortunately, such functionality still not implemented in Server/Data Center Jira and available only via 3rd party plugins.

However, you can use the plugin I have developed: API Tokens for Jira

In case of any questions feel free to contact me.

Regards, Roman

Varun Joseph Allu July 1, 2021

Hi Roman,

 

How we can give access to particular user accounts with this plugin.

We dont want all users to use token and we want to restrict to some.

Is this possible ?

 

Thank you,

Varun

Suggest an answer

Log in or Sign up to answer