Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Atlassian 3-legged OAuth Python Example Questions

phil
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 4, 2018

 

I am trying to create a basic script in python that uses OAuth to authenticate the user in jira. I am hoping to allow the user to make a simple request in jira. I was following the example on the documentation. In the process I have ran into blocks. I have some basic questions on these blocks. I am very new to Oauth and the information on atlassian as well as everywhere else is overwhelming and a little confusing.

 In the required setup there are a couple of things that need to be done.

 For the generated the keys I followed the link but I am not sure what this means "use rsa options openssl rsa -in mykey.pem -pubout". So what does this mean? One I generate the keys how do I use them in the example script?

Where are the keys stored when generated?

 How Important is configuring an application link and do you need to have jira admin permissions to configure an application link?

 I am not sure what configure an "Incoming Authentication” exactly means or how to do it?

 In general I am really not sure how to do these steps. Does anybody have a fully functional version of the python example complete with all the required steps needed to run the script?

 Is the most simple way to do a basic oauth for jira or is there a way to implement a basic scrip in python to authenticate a user using jira that does not need admin permissions?

 If you got this far thank you so much for reading and any help would be appreciative

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
January 28, 2021

Fortunately the doc is starting to be a quite clear

https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/

 

and also, you can start to use more and more tokens

Suggest an answer

Log in or Sign up to answer