Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-31419

REST JQL returns error messages without returning valid issues

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • 6.0.2
    • REST API
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

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

      Using JQL to return me details on a set of issues.

      However, instead of returning me the issues that were found, it only returns an array of error messages of which issues that were not found.

      {
      	"errorMessages":
      		[
      		 "An issue with key 'JIRA-2' does not exist for field 'issuekey'.",
      		 "An issue with key 'JIRA-3' does not exist for field 'issuekey'."
      		],
      	"errors":{
      	}
      }
      

      This means I need to parse the error messages for the invalid issues, and do a second request with the invalid issues excluded. Instead, JIRA should just return me the issues it found.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xtjhin Joshua Tjhin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: