RuntimeError: POST https://xxxxxx.atlassian.net/rest/api/3/search/jql failed [400]: {'errorMessages': ['Invalid request payload. Refer
to the REST API documentation and try again.']}
Stuck on this error. Any thoughts or inputs on this?
Hello,
Welcome to community :)
We have edited the url from the post as it would be visible to all
As per the error Jira rejected the JSON body shape itself, not the JQL.
So it’s almost certainly one of:
Wrong JSON structure for the new /search/jql endpoint
Invalid / non‑JSON body
Missing required field in the body
Could you please let us know what are you trying to post using api?
Thank you
Prachi
I am trying to get the custom field values and its context for a project, it was throwing an error using get, so used POST for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome @Addakula Sri Sai Venkata Lalitha Yasonadh Yashwanth
Error message appears to be legit referring that your payload is invalid. What is the body of your request? What were you trying to do with the request?
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.
Have you checked this article? https://www.postman.com/api-evangelist/atlassian-jira/request/ep9zobc/get-options-for-field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adding to above please also check our change log : https://developer.atlassian.com/changelog/#CHANGE-2046
It has new end points that can be used for API
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.