Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to get issue id from Jira in Python?

https://confluence.atlassian.com/jirakb/how-to-get-issue-id-from-the-jira-user-interface-827341428.html

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?

2 answers

0 votes
svegesna
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!
Sep 20, 2023

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
0 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 02, 2022

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events