I'm new in jira python and I want to have a list with tickets obtained with an existing filter.
I tried jira.filter(id)
but instead receiving the list with issue, I received only the name of the filter.
Using jira.search_issue
is working, but because my filter can be change by other guys I need something that will take in account those changes of filter content.
Any ideas?
Thanks!
Using JIRA library for Python. Using the JIRA Rest API. The configuration, required, in the Jira software tool, is as follows: Create a Jira user account. Create a domain name, add a project, and, record some issues, or, bugs. Our task is to fetch, issues data, using Python code.
Finding Jira Filters. To find the filters you’ve already created, go to Issues > your favorite issues and the option to “Manage filters”. Alternatively, you can go to the Filters dropdown to select starred filters or to “View all filters”. To call up new results for your filter, just navigate here and click on the filter’s name.
To see issues from a specific project, you can search for the project in the “Basic” search list: You can then further configure your Jira filter by adding additional search criteria. For instance, you can filter on the basis of specific statuses – but you can also select values linked to users, dates, issue descriptions, and so on.
It is an efficient way, of fetching, JIRA-related data. It can be used, in both, JIRA library, and, API approach, for obtaining data. This involves, forming queries, to filter information, regarding, relevant Bugs, Projects, Issues etc.
Use filter ID in jira.search_issue
.
for i in jira.search_issues('filter=25471'):
print i.key
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With