Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-31460

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

Details

    Description

      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 .

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: