Jira Cloud (lightspeeddms.atlassian.net). Posting JSON to POST /rest/api/3/search/jql
with body {"jql":"key = \"EVO-12455\" AND project IN (\"EVO\",\"CON\",\"TLS\",\"MOB\",\"LOY\")","startAt":0,"maxResults":50,"fields":["key"]}
returns HTTP 400 with {"errorMessages":["Invalid request payload. Refer to the REST API documentation and try again."]}
.
Note: the equivalent GET to /rest/api/3/search/jql?jql=...
returns results. Please confirm the correct POST payload/schema and advise why POST is rejected on this instance.
for GET request: Im getting empty results
Hi @Jagadhabi_ Santosh ,
Welcome to Atlassian community.
Probably is the "max result" parameter that ha been replaced by nextPageToken.
You can refer to rest API doc: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-search/#api-rest-api-2-search-jql-post
Regards
Hello @Matteo Vecchiato
Probably is the "max result" parameter that has been replaced by nextPageToken.
The maxResults parameter has NOT been replaced by the nextPageToken, as the two serve very different purposes.
If you refer to the API documentation you have provided a link to, you will see that maxResults parameter is still very much alive and useable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.