I'm trying to connect python to Jira and I'm looking for the steps needed to create the connection. I'm using Jira Server.
May I ask what's the need here?
If you are just going to make some calls and achieve automation use the Python wrapper here
https://atlassian-python-api.readthedocs.io
Thanks,
Pramodh
We have a team wanting to use Python to interface with Jira and return back project information such as Stories, Bus, Tasks, etc... So I'm trying to figure out set them up so they can access Jira securely with only accessing their data and no other project information besides what they have access to.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your Python code should talk to Jira over the REST API
See https://developer.atlassian.com/server/jira/platform/rest-apis/ for what calls can be made into Jira, and I've got https://realpython.com/api-integration-in-python/ and https://www.nylas.com/blog/use-python-requests-module-rest-apis/ as stuff to read when I get to the point where I need to learn about consuming REST APIs in Python code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So based on this link(https://developer.atlassian.com/server/jira/platform/oauth/), I need to create an OAuthentication by installing Maven and OpenSSL on the server. Does that seem correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maven is a build tool, you don't need it for a simple Oauth connection. That page is about how to build and run the example Java code that can authenticate and then interact with Jira.
Nor are you looking at the (Jira) server here, the programs are to be installed on your development machine so you can build the client.
You'll want to use the same principles in your Python, not build a Java client.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Based on the articles, you still need some type of authentication. OAuth is the most secure that that means I need to generate the authentication token at the server...is that not correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, your code should use an Oauth token to login as an authorised account.
You don't need maven or openssl to do that, Python can do it.
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.