Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21030

Empty search results when looking for deployment projects using the search provided by the After Deployment Trigger for Bamboo app

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Plugins, Triggers
    • None
    • 1
    • 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

      Problem Definition

      When searching for a deployment project using the "After deployment" trigger provided by the After Deployment Trigger for Bamboo app the results might be (unexpectedly) empty.

      This does not mean your Bamboo indexes are corrupt, your deployment project no longer exists or you no longer have permissions to access it. The After Deployment Trigger for Bamboo app uses the following Bamboo REST endpoint to search for data:

      By default this endpoint will only return the first 12 results when searching for data after typing in at least 3 characters. The problem is that the app does not filter out other results (e.g. plans, plan branches, projects and etc) and instead it only hides them. So if your deployment project is not in the first 12 results when you start searching for it you have to continue typing to narrow the scope of the search otherwise it won't show up in the results.

      This is rather confusing and a bit misleading because the search result will be empty until it finds at least one deployment project that matches the expression you're searching for in the first 12 results.

      Suggested Solution

      Filter out the results of the REST call to look for deployment projects only instead of hiding the other results from the UI.

      Workaround

      You'll need to keep typing in to narrow down the scope of the search until you find your deployment project.

      For example, if you're searching for a deployment project named "This is my deployment project" and you start typing "Thi" but get an empty list it's very likely that your deployment project is not present in the first 12 results of the search. If the first 12 results don't return any deployment projects you'll get an empty list. Try searching for "This is" or "This is my" to see if the deployment project shows up. The more characters you give the more precise the search will be and the higher the chances you'll find your deployment project in the list.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gforster@atlassian.com Gerhard Forster (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: