Hi, I'm trying to get some information using JQL via REST API, but I got this:
{ "errorMessages": [ "Internal server error" ], "errors": {} }
Even if I use the following simple request, still getting the same error:
localhost:2990/jira/rest/api/2/search
So I tried other type methods like:
localhost:2990/jira/rest/api/2/issue/{issueIdOrKey}
localhost:2990/jira/rest/api/2/filter/favourite
..
They are everything fine except /rest/api/2/search.
Need your helps and advice,
Sincerely,
Hi Hao,
From the error you are seeing, it would tend to indicate that either the parameters are incorrect or that the json package is incorrect. Please see the KB Get an internal server error message when trying to create a new issue through REST method
Granted that KB is about trying to create a new issue in jira, but the error is identical, and I believe the source of the problem here is also the same. Please check the Searching for issues examples to make sure that your GET calls are using the correct headers, payload, and endpoint with parameters
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.