for some reasons, need to access production at customer Jira with enabled websudo.
Would like to use Postman and Rest API.
Using Basic auth is working, but I don't like that as final solution.
Anyone know how to setup token solution with OAuth or session?
Tried few steps via linked applications, but without any success.
I got it working using the postman desktop client.
The documentation here gives all the information, but in a pretty convoluted way.
Create the app as in the doco, make sure you copy the client ID and secret.
Also, make sure that you've added the Jira platform REST API and allowed the scope you need in that.
In postman, open a new request, then in the authorization tab:
Type = Oauth 2.0
Get New Token
This was the bit that required a bit of trial and error:
Callback URL = whatever.
Access URL = https://auth.atlassian.com/authorize?audience=api.atlassian.com
Access Token URL = https://auth.atlassian.com/oauth/token
Client ID and Secret as from before.
Scope - the doco covers this pretty well.
The request token should generate and fill in the token field.
On the left hand side you'll need to add authorization data to Request Headers. Make sure you update this whenever you get a new token.
From there you need to make a call to https://api.atlassian.com/oauth/token/accessible-resources to get the cloud ID for the sites accessed by the app. Make sure to use the token here.
Now you can finally make actual calls - just follow 3.2 on in the doco.
Thanks for the post, but the original post was meant for server Jira. :-(
Still not able to made it works with Postman. There is an OAuth implementation, but I would assume, that it have to be kind of magically configured. Will try to reach postman support.
still using basic auth for API calls.
Was unable to determine successful oauth setting and my time resources was and still are very limited.
If you would find it out, please, share with community over there.
Hi Ankita, its quite easy, you just have to use user account with appropriate credentials. Of course the instance have to be set to accept API calls and return results. Do you have some concrete problem I can help you with?
I too, would like to find a way to connect postman using oauth successfully, I've been going around in circles with the documentation. Basic auth does work but would prefer to use oauth, either as an app or not.
Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...
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