Forums

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

How to generate API tokens dynamically for jira rest api

Abhishek Barnwal June 20, 2021

We do not want to use basic auth for rest authentication for jira-data center. Can someone help me please how I can use token based authentication in jira-datacenter

1 answer

1 accepted

0 votes
Answer accepted
Niranjan
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.
June 20, 2021

Hi @Abhishek Barnwal ,

The ability to generate API tokens is already available in Jira Server and Data Center version 8.14.0.

https://jira.atlassian.com/browse/JRASERVER-67869

Abhishek Barnwal June 21, 2021

Hi @Niranjan ,

Thanks for your response. Currently we are using 8.13 version of JIRA DC. Can you please tell me how can I use the OAuth authentication method for rest api authentication.

Niranjan
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.
June 21, 2021

@Abhishek Barnwal - This feature is not available in 8.13.0. You must upgrade JIRA to 8.14 or later version to use this feature. 

Abhishek Barnwal June 21, 2021

@Niranjan OAuth is available as authentication method. I am new in OAuth Authentication. Can you please tell me how can I use OAuth as authentication method?

Prashantgouda KARAKANAGOUDR November 22, 2021

Hi Abhishek,

Even I am new to Oauth and trying to find the solution.

Have you had a chance to get the solution?

 

I am trying to use below steps in the document and will update you if it works for me.

https://developer.atlassian.com/server/jira/platform/oauth/

 

Regards,

Prashant

Suggest an answer

Log in or Sign up to answer