Forums

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

cql query parameter is required ERROR message

Surugiu Iulian
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!
June 9, 2021

Hi,

I'm trying to use JQL when querying the JIRA API however I am getting a weird message:

Request:

curl --location --request GET 'https://confluence.aws.xxx.xxx/rest/api/search?jql=project=MYPROJ+order+by+status'

Response:

{ "statusCode": 400, "data": { "authorized": false, "valid": true, "allowedInReadOnlyMode": true, "errors": [], "successful": false }, "message": "cql query parameter is required", "reason": "Bad Request"}

Any idea what I am doing wrong?

1 answer

1 accepted

0 votes
Answer accepted
Muhammad Ramzan_Atlassian Certified Master_
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.
June 9, 2021

Hi @Surugiu Iulian ,

Sorry , I did not understand the question correctly. Can you please elaborate little bit.

I can see you are trying to get the Jira data from Jira api but the rest end point you mentioned is for the confluence.

Suggest an answer

Log in or Sign up to answer