Forums

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

Jira Python client failing after migration to /rest/api/3/search/jql

Vivek Patel
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!
September 16, 2025

Hi Team,

We are facing an issue while using the Python jira client library after Atlassian removed the legacy /rest/api/2/search endpoint.

Earlier, our Python code worked fine with API v2:

After migration, Jira Cloud throws this error:

JIRAError: JiraError HTTP 410
The requested API has been removed. Please migrate to the /rest/api/3/search/jql API.

We attempted to update JIRA sdk using pip install --upgrade jira but getting the same above error.


Could you please confirm the correct way for the new JQL search API, and how to fetch all fields equivalent to *all in v2 using the python JIRA sdk for v3 API?

 

 

1 answer

0 votes
Ashish Bijlwan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 16, 2025
Bartosz Debski September 17, 2025

Hi, 

I have the same issue as Vivek. Your answer @Ashish Bijlwan does not apply here. While using Python Jira module you have no control over the call to API, you are fully dependent on Jira module. 

 

@Vivek Patel Check your Jira module version. version 3.8 definitely still calls to v2, where it looks like 3.10.x should fix the issue. 3.10 requires python 3.10 so you might need to update your Python setup before you can get the never version of Jira module to work. I'm working on it myself so will let you know if i got any luck.

 

 

Like Vivek Patel likes this
Vivek Patel
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!
September 17, 2025

Its 3.10.5 only! @Bartosz Debskijira.png

Bartosz Debski September 17, 2025

@Vivek Patel I did upgrade from 3.8 to 3.10.5 and my issue have been solved. I have a Linux setup with Python 3.10.12 and Jira 3.10.5.

Vivek Patel
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!
September 17, 2025

I have Python 3.12.7 installed too. Not sure what is issue here. :) @Bartosz Debski 

Bartosz Debski September 17, 2025

I suggest to fully remove jira module and reinstall from scratch. It might be that module, for some reason is not installed properly and your code still loads old one ? 

Vivek Patel
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!
September 17, 2025

Finally working now ! 
@Bartosz Debski 

How to paginate with enhanced_search_issues()?

older libraries that expect startAt, they may not support this new model and will only return the first page

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events