Forums

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

Generate User based Acces token to access Jira REST APIs.

venu gowda March 21, 2019

Hi, We have business scenario, where we would like access jira rest APIs, to authenticate resy APIs we would like use the Access Token, I refered to the follwing url https://developer.atlassian.com/server/jira/platform/oauth/ this generates a system token.

what we want is user specific token.  So that when we run the API it will use user roles.I have not find any ways to do that. could you please help me with some documentation how we can do that. or is it possible to do it or not.

 

1 answer

0 votes
Ismael Jimoh
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 22, 2019

Hi @venu gowda 

With the above, you would need a user whom you would login as to complete the steps specified in the link you shared.

This user would then have the required privilege configured in Jira. Note that with tokens, only one user would be able to be configured and would serve as a representative for all other users who may be making the rest calls to my knowledge of the guideline you linked.

Any other members of the community please correct me if I’m wrong here.

venu gowda March 22, 2019

Hi @Ismael Jimoh  I have done the configuration and i am able to generate the Access token and use to run get call. As i can see in the documentation is there any limitation on the type of REST call like PUT, POST.. is it possible to do POST and PUT call,  let me know how i we can do it.  Also i would like to know is there anyway to automate this process of generation of token without any manual interface. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events