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 rest 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
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 28, 2019

Hi Venu,

In the guide you cited, the steps that you take to configure Oauth to work with Jira does generate a user specific access code or token. 

Step 3. Make an authenticated request to the Jira REST API

An access code is all that we need to make an authenticated request to the Jira REST API. Requests are made as the user who authorized the initial request token. The access token will persist for 5 years, unless it is revoked. 

The user that creates this code is the same user that these API calls would be made as when authenticating to Jira using this access code. 

I hope this helps.

Andy

Suggest an answer

Log in or Sign up to answer