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

Improve filter behaviour: auto-complete should not give away field values

    XMLWordPrintable

Details

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

      Context

      When using JQL with auto-complete switched on, searching for fields will always list global values. For instance, when using the IN operator in JQL, auto-complete will "give away" values for the majority of fields. Given that for each individual project there are schemes restricting or limiting the available fields, only context-specific values should be accessible for the user.
      The current behaviour seems to be potentially problematic with regard to usability or security concerns.

      Objective

      As a user, I want the auto-complete function to only present field values relevant for my context.

      With "my context" meaning:

      1. Projects, I have permission to browse; or
      2. Values for fields that are configured/enabled via a scheme configuration for that project.

      In other words: the behaviour and underlying logic of JIRA's JQL search capabilities should respect project configuration and permissions to not reveal global field values.

      Steps to reproduce

      1. Create a user that has access only to one particular project.
      2. Configure the project in the following way:
        1. A basic workflow (eg. only with three statuses TODO, DOING, DONE).
        2. No Custom Fields used on any screen or any scheme;
      3. In JIRA, browse to "Search for issues" in Advanced mode and try the following:
        1. status IN (
          -> Auto-complete will display a preview of all existing statuses (in addition to our three).
        2. project IN ("My Project") AND
          -> A preview of globally existing custom fields will be displayed.

      Other fields which are affected by the described behaviour as well are:

      • Issue Type
      • Status
      • Assignee
      • Resolution
      • Component
      • FixVersion
      • Custom Fields

      Footnote

      • The search for projects does respect the configuration. As a user, auto-complete only displays a list of projects I am authorised to browse:
        project IN ( 
        

      Attachments

        1. jira-jql-1-component.png
          212 kB
        2. jira-jql-2-statuses.png
          206 kB
        3. screenshot-1.png
          screenshot-1.png
          434 kB
        4. screenshot-2.png
          screenshot-2.png
          151 kB
        5. screenshot-3.png
          screenshot-3.png
          127 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              5754b9a6c8ea Andreas van Rienen (Scandio)
              Votes:
              23 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: