This Link describes how to get issue id from the Jira User Interface.
Is it possible to get This id in Python with using Jira-Rest-Api?
I'm using JIRA python library
from jira import JIRA, JIRAError
You can use search_issues and try ti get the key using issue.key.
def getIssues(self):
query = "project='Your Project'"
issues = self.jira.search_issues(query, maxResults=False, fields=['key'])
for issue in issues:
keys = {issue.id: issue.key}
return keys
Hi @John Paco
Welcome to the community 🙂
Here's the python wrapper you can play around to get the data
https://atlassian-python-api.readthedocs.io/
Let me know if you have any queries
Thanks,
Pramodh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.