You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I followed the instructions on https://developer.atlassian.com/server/jira/platform/oauth/ with the sample java code. The sample java code saved a config file to config.properties.
secret=xxx
jira_home=xxxx.com
consumer_key=xxxx
private_key=xxxxx
request_token=xxxxx
access_token=xxxxx
I am able to access using the java methods supplied in the documentation, but I'm having no such luck with Postman. I am either getting either:
I think I may just have the config wrong in Postman. I have tried:
I've tried a number of combinations, so I am wondering if either I am missing something or if I am simply just putting the wrong values into the corresponding spots in Postman.
For those who come across this post in the future, I was never able to quite solve the issue with Postman, but I came across this post which was helpful:
And this python library helped quite a bit as well: https://jira.readthedocs.io/en/latest/index.html
Put the Consumer key( the one that you entered in Applications Links when setting up the Application URL) and
oauth_token & oauth_secret in the Header section of the Postman call , keep the Authorisation Type as No Auth.
This worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I really struggled with this but finally made it work using authentication in Postman and coping data from the working Jira example application
https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/
using
Just to let others know :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I ended up using the Jira python library and creating a oauth function in python:
def oauth():
key_cert_data = None
with open('jira_privatekey.pem', 'r') as key_cert_file:
key_cert_data = key_cert_file.read()
oauth_dict = {
'access_token': '',
'access_token_secret': '',
'consumer_key': 'OauthKey',
'key_cert': key_cert_data
}
return oauth_dict
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.