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

calling JIRA REST API from POSTMAN

I am calling the JIRA REST API as below from POSTMAN DESKTOP with authorization Type as BasicAuth or NoAuth and its throwing error as "Issue does not exist or you do not have permission to see it." and "Unauthorized".

https://<domain-name>.atlassian.net/rest/api/3/issue/RPC-260

Can anyone guide me on how to proceed on this.

10 answers

You should be using:

  • Type = Basic Auth
  • Username = <your login username>
  • Password = <your api token>Postman.PNG

This worked, thanks.

Thanks you !!!!

This also worked for me.

Is it just me? Or is this totally bananas? I've been chasing my tail for hours trying to get it to work with OAuth v2.

Is this a normal way to use such a token?

Thanks a lot for this help!

Hello guys, 

With the basic auth, are you using the API token in the password field? That is how it suppose to work.

Cheers!

Alexandre C.  

How to know the API token?

Hello,

I am facing the same problem. Has this issue been resolved ?  any suggestion?

I't works with the browser but i keep having 401Unauthorized with postman

I'm using the e-mail as username and the generated token fro jira as a password

I had the same situation for a while and finally learned that my username needed to be the email address NOT just the username alone. Though, when I am using Jira I sign in with without the email address. 

As recommended, e-mail as username, API token as password and Authorization type as 'Basic Auth' worked from Postman.

0 votes
edwin Community Leader May 02, 2019

Hi @Sai Shyam Pasupuleti ,

Please confirm that you have access to the project by viewing the issue on the browser.

https://<domain-name>.atlassian.net/browse/RPC-260

Hi Edwin,

Yes I do have access and I am able to get the data using Chrome REST Service client where as with Desktop version of POSTMAN its failing.

Your response will be highly appreciated

When used Authorization Type - No Auth it says "Issue does not exist or you do not have permission to see it." and below is the screenshot

 

When Authorization Type - Basic Auth it says Unauthorized Find the screenshotSS1.PNGSS2.PNG

Please advice on this.

 

Your timely help is much appreciated

I am having the same problem. Has this issue been resolved yet.

Thanks,

Mamata

1) I click on my picture > bottom left

2) select profile

3) click 'manage your account'

4) click 'security

5) click 'create and manage API tokens'

I'm having same issue, Please suggest..

any updates on how to resolve this?

Also running into: "Basic auth with password is not allowed on this instance"

 

So what other options than basic auth does the jira api support?

Getting issue in Postman "Basic auth with password is not allowed on this instance"

I am using Basic Auth. Email in Username an Token in Password.

Can anyone please help as it was working fine earlier?

1)  click on my picture > bottom left

2) select profile

3) click 'manage your account'

4) click 'security

5) click 'create and manage API tokens'

I love how Pvs_Krishna just responds with the steps to get the token when people are actually asking why that's not working.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Opsgenie

Incident Responders, Incident Commanders, Stakeholders! I want to hear from YOU!

Hello there friendly community! I'm currently working on a guide for folks who are new to Incident Management, or want to improve their current Incident Management process. The TL;DR  I'd...

119 views 4 2
Join discussion

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