Forums

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

POST https://<domain name>.atlassian.net/rest/api/3/search this api has been deprecated.

MVaseem_Fathima
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 18, 2025

POST https://<domain name>.atlassian.net/rest/api/3/search this api has been deprecated and new recommendation is 

 

https://<domain name>.atlassian.net/rest/api/3/search/jql 

 

below is body

 

{

  "jql": "assignee = currentUser() AND resolution = EMPTY",

  "startAt": 0,

  "maxResults": 50,

  "fields": [

    "summary",

    "status",

    "assignee"

  ]

}

but getting error like below

{

    "errorMessages": [

        "Invalid request payload. Refer to the REST API documentation and try again."

    ]

}

 

what is the correct format and what is wrong in my payload and api url?

2 answers

1 vote
Rilwan Ahmed
Community Champion
September 18, 2025

Hi @MVaseem_Fathima ,

Welcome to the community !!

You can refer https://developer.atlassian.com/changelog/#CHANGE-2046 for more details about new api. 

0 votes
Sunny Ape
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

Hello @MVaseem_Fathima 

but getting error like below - "Invalid request payload..."

When you encounter such errors when sending requests to REST APIs you need to break the problem down into smaller pieces and systematically evaluate each step in creating the request so that you able to determine which specific part of your request is responsible for the error.

For example:

  1. Start by making the simplest request possible first. Submit a request to the endpoint and define only the value for the jql parameter.
  2. If that request works without error, add another parameter and value, such as the maxResults parameter with a value of 50, to the request,
  3. If that request works without error, systematically add the each of the other parameters and their values ONE BY ONE, testing each new combination in turn until you encounter which parameter and value declaration combination causes the fault.
  4. Once you have determined which parameter and value combination is causing the request to fail, refer to the documentation for the endpoint and confirm that:
    1. That parameter is valid to use with that endpoint
    2. If it is a valid parameter, you have provided the value in the correct format

In this manner you will identify which parameter you have incorrectly used in your request body that has caused it to become invalid.

Good luck!

Suggest an answer

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

Atlassian Community Events