Forums

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

Rest API won't work

İclal Aslan
Contributor
September 18, 2025

I used to get data with the rest api : xxx.net/rest/api/3/search

{"errorMessages":["The requested API has been removed. Please migrate to the /rest/api/3/search/jql API. A full migration guideline is available at https://developer.atlassian.com/changelog/#CHANGE-2046"],"errors":{}}

So i tried jql but it won't work either.

What should I do? 

3 answers

2 votes
Jonas Moehringer - ij-solutions
Atlassian Partner
September 18, 2025

Hi @İclal Aslan,

Welcome to the community!

The REST API you are using has been deprecated and now removed from Jira. You have to migrate everything to this new search api:  target=_blankhttps://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get

 

It looks similar and most parameters are working the same, but there is a difference in calling it ("/rest/api/3/search/jql?jql=..." vs. "/rest/api/3/search?jql=...")

I hope that helps to fix the issue.

İclal Aslan
Contributor
September 18, 2025

Thank you! I want to get worklog datas, all datas not just one specific issue's log. What should i use? thanks.

Jonas Moehringer - ij-solutions
Atlassian Partner
September 18, 2025

You can use this api I linked. As jql parameter you add the query for the issues you need and then add the parameter fields=timetracking to retrieve information about ours logged on the issues.

0 votes
Bill Sheboy
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 18, 2025

Hi @İclal Aslan 

Adding to the other suggestions provided...

The new search endpoint apparently does not return some of the worklog data, and the format is different for comments, worklogs, etc. due to the changes to respond with ADF.  Please see this defect to learn more:

https://jira.atlassian.com/browse/JRACLOUD-71136

The workaround listed in that defect will not work as the v2 endpoint is sunsetting, and so I expect one would need to call the worklog endpoints to get that data for each work item.

 

Kind regards,
Bill

0 votes
Marc - Devoteam
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 18, 2025

Hi @İclal Aslan 

What API do you want to make?

The new format is, example: /rest/api/3/search/jql?jql=project=test

See API doc, https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get 

İclal Aslan
Contributor
September 18, 2025

I want to get worklog datas.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events