Hey, i'm a site administrator on Jira and I recently ran into a problem where an employee in my company couldn't edit a jira automation rule even though she is the owner and the project's administrator. it gives her the option to "read-only".
It worked in the past and even though we didn't change her roles since then, now all of the sudden she can't manage the project's automation on her account
I've logged into her account and I can see that she can't manage automation in general - in any project, even though she is the owner of the automation and an administrator on these projects
Reason for this is peer (the instance try to access by OAuthTutorialClient ) not secure.
if you try to access the instance with https:// url_for_instance.com using a browser it shows that not secure.
so you need to secure the peer by installing valid cert to host server (where peer is hosted) create secure connection.
When I faced the same issue, that's how I sorted out it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Eventually we want to try to use OAuth to have an application use it sometimes to get Jira ticket information. We want to try and do this instead of having to store username/password information and get the Jira ticket information with BasicAuthentication. Again this is a trial to see if this is going to be able to do what we want it to do. My first goal was to use the tutorial to see what is possible. My problem is that I can't get the trial application to get me a request token so I can move forward in the OAuth Process.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Roger CrerieIt is quite complex topic it took me some time to understand and make it work in my instance the same specification you've just ask.
1. You need to configure application links (in coming) , that is third party application with you jira instance, see good article https://www.prodpad.com/blog/tech-tutorial-oauth-in-jira/ on how to configure application link for third party.
Also see how to generate public and private key,
2. You will need to generate Access token, (doing the OAuth dance) I suggest you use Python code to generate it , easier. https://bitbucket.org/atlassian_tutorial/atlassian-oauth-examples/src/3f0d22c5b1d8749fae6f05aa3556ca8ac3724b5a/python/?at=default
Once you are able to generate this access token if you succeed it will display a link to ( log in as this user Admin for example which you want to use to access Jira data,(tickets in Jira for example) then approve access to Jira using this user.
3. Then you can use this user in you external application(code to access Jira, by adding private key parameter in python code for instance that accesses Jira data in your Jira instance)
Best, I hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for this. I have followed basically the same instructions here... https://developer.atlassian.com/server/jira/platform/oauth/
The are basically the same thing as what you have listed. I have done the step 1 part but my problem now is getting through step 2 (getting the Access Token) I can't get the link back from the Jira server for some reason. Again turning on debugging (I am using the Java oauth example client) with -Djavax.net.debug=ssl,handshake showed me the Jira seems to be closing the connection for some reason (I cannot find the log file to see why)
main, WRITE: TLSv1.2 Handshake, length = 235
main, received EOFException: error
main, handling exception: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
main, SEND TLSv1.2 ALERT: fatal, description = handshake_failure
main, WRITE: TLSv1.2 Alert, length = 2
main, called closeSocket()
main, IOException in getSession(): javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
I will keep messing around to see if I can find the proper log file letting me know why the Jira server is closing the connection.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.