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

REST JQL returns error messages without returning valid issues

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Ecosystem
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? 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: