JIRA REST API gives 500 error code instead of 400 error code with proper message when invalid expand value is passed to search JQL endpoint

XMLWordPrintable

    • Severity 3 - Minor

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      For example: http://jira.atlassian.com/rest/api/2/search?jql=issuekey+in+(JRA-3141)&fields=description&expand=*test

      Returns:

      {
          "errorMessages":[
              "Internal server error"
          ],
          "errors":{
          }
      }

      Tested on fresh JIRA instances but the problem is probably there forever .

            Assignee:
            Unassigned
            Reporter:
            Aleksander Mierzwicki ☁
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: