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.
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.
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