![]() |
VOOZH | about |
Jira is an agile project management tool developed by Atlassian, primarily used for tracking project bugs and issues. Over time, it has evolved into a work management platform capable of handling all stages of the agile methodology. There are two ways to get data from Jira:
JQL: Jira Query Language (JQL) is an efficient way to fetch Jira data. One can filter issues, projects, or bugs using keywords and operators. JQL works with both the Jira library and REST API.
The jira library is an easy-to-use Python library to connect with Jira. It requires Python 3.5+. To install Jira Library use below command in command prompt or terminal:
pip install jira
Example: Fetch All Issues from a Project
Output
Explanation:
Example: Fetch a Single Issue
Output
Explanation: jira.issue('MED-1') Retrieves a single issue from Jira using its unique key (MED-1).
The Jira platform provides a REST API that allows you to interact with Jira programmatically. Using the API, you can perform CRUD operations on issues, projects, dashboards, users, and more.
Here, we focus on fetching all issues for a specific project (MedicineAppBugs) using the REST API. This approach gives you full control over the data and allows you to filter, sort or process issues according to your requirements.
Python Libraries Required
To fetch issues, we will use Jiraβs Issue Search API.
This URL allows you to retrieve all issues for your project or filter them using JQL queries.
Output
Explanation: