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

Issuekey in JQL search should have an option to not fail if issuekey doesn't exist

    XMLWordPrintable

Details

    • 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.

      For Bamboo we use URLs like below to display JIRA issues in Bamboo

      https://extranet.atlassian.com/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project%3D%22BDEV%22+AND+issuekey+IN%28BDEV-2400%2CBDEV-2401%29&tempMax=100&field=summary&field=type&field=status&field=link&field=assignee&field=fixVersions

      which works fine, however if an issue key is invalid or an issue has been deleted, a 400 error is returned, even though there is one issue that is valid.

      https://extranet.atlassian.com/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project%3D%22BDEV%22+AND+issuekey+IN%28BDEV-2400%2CBDEV-24019999%29&tempMax=100&field=summary&field=type&field=status&field=link&field=assignee&field=fixVersions

      It'd be great for us to be able to pass in a field like "issueKeyValidate=false" that would disable issueKey validation, and just try to return anything that it matches, even if the value may be invalid.

      You might even want to extend this flag to be "dataKeyValidate=false" so that you could also ignore validation for things like version names

      Attachments

        Issue Links

          Activity

            People

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              jdumay James Dumay
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: