RuntimeError: POST https://xxxxxx.atlassian.net/rest/api/3/search/jql failed [400]: {'errorMessages': ['Invalid request payload. Referto the REST API documentation and try again.']}Stuck on this error. Any thoughts or inputs on this?
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?
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
/search/jql
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
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
Have you checked this article? https://www.postman.com/api-evangelist/atlassian-jira/request/ep9zobc/get-options-for-field
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.
It looks like you're new here. Sign in or register to get started.