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

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

    XMLWordPrintable

Details

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

      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: