Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to extract the bug details for multiple project using Python

papiha
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!
August 16, 2021

Hi Team,

in my project i am trying to get defect list of current month for multiple project using python. I was following up some sample documentation and able to get only 1 project defect list . but to be more specific like multiple project and current month an not getting Idea to proceed. If any one can help me i will be really grateful.

 

I am using below code:

issues_in_project = jira.search_issues('project=XYZ AND issueType=BUG ')

 this give me only 1 project all defet. wated  for multiple project and current month.

1 answer

0 votes
Mohamed Benziane
Community Champion
September 1, 2021

Hi,

Welcome to the community

If you want multiple project you just need to change the JQL

'project=XYZ AND issueType=BUG '

You can try :

'project in (abc, def, ijk and issuetype = Bug')

Suggest an answer

Log in or Sign up to answer