It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to authenticate to Jira REST API with Access token

I followed the tutorial to get the access token, when i try with the command with Java it's working pretty well as soon as i want to check if the access token is working with a simple CURL command or in REST CLIENT, it always returns me not authenticated  

1 answer

1 vote
DPK_J Community Leader Oct 21, 2019


Can you share details of curl command you are using?

Here is sample that you can use to verify if things are working.

curl --request GET \
--url 'https://<SITE_NAME><ISSUE_KEY>' \
--user '<EMAIL>:<API_TOKEN>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'


Please replace, <SITE_NAME>, <ISSUE_KEY>, <EMAIL>, <API_TOKEN> with appropriate values. 




I followed this tutorial to generate an access_token, it's working pretty well, i can perform my call with

java -jar OAuthTutorialClient-1.0.jar request\

but when i try with curl or postman

I always get : Authenticated_Failed.


DPK_J Community Leader Oct 21, 2019

@taiebafYou are mistaking oAuth Token with API Access Token. They are two different things.

Jira cloud provide two ways to login for API,

  • oAuth
  • Basic Auth

For CURL and Postman you need to basic authentication. Here are links,

Using Basic-authentication -

Generating API token for basic-authentication -


Please follow these two guides, and get back. Hopefully your issue will be resolved.

I am adding one new issue related to access request.

Once the request is been raised.

1. user Line manger will approve.

Now i want to add one more approve.

I am adding two fields 

Filed Name:  Type

System Name: Select List (single choice)

Owner Name: Select List (single choice)


Now i want one the system name is selected the owner name must display automatically, also it should go to same owner for approval.

Can anyone assist?

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you