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.
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.
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?
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.
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?
Hi @Alfredo Negrete
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.
It looks like you're new here. Sign in or register to get started.