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

See more available fields for Columns in Issue Navigator without typing

      Unable to select all options in Issue Navigator screen

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Issue Summary

      When using the drop-down menus in the issue navigator screen, users receive the following prompt: 'X more options. Continue typing to refine further.' This shows up in multiple search fields and can prevent users from finding the option they are looking for if they are unsure of the exact name of that value. It can also cause some values to become un-selectable.

      For example, when using List View of Issue Navigator, the user has the ability to select fields to add as Columns to the list. The Columns drop down selector can only display 25 fields at any time. In order to see more, the user is prompted with a message as follows: ## more options. Continue typing to refine further.
      In the circumstance where a user is trying to search for a value (e.g. "Type"), but the environment has more than 25 fields (including Custom Fields) which have the word "Type" as part of the value, the user may not be able to find "Type" in the list, yet, they cannot refine further by adding more characters; they are only looking for "Type".

      This impacts users with a large number of custom fields in their environment, who might stumble into this issue.

      Steps to Reproduce

      In any other field, the search needs to be refined further to select certain values. This is not the cause for other fields, like the inline user picker in the issue view which displays all options. There are two existing feature requests for this issue:

      The value not being selectable can be reproduced in the list view:

      1. Create one custom field with a specific name (e.g. "Type")
      2. Create at least 25 other custom fields with any combination of characters, followed by "Type" (e.g. "Example Type")
      3. Go to the Issue Navigator, and be in List View.
      4. Click the Columns dropdown, and search for "Type"

      Expected Results

      The user should be able to select "Type". This could be accomplished by allowing the user to expand the search results without typing (e.g. Click to refine further)

      Actual Results

      The user is prompted to continue typing to refine further. Any further typing beyond "Type" will result in a non-match for the value "Type", making it impossible to select this value.

      Workaround 1

      1. Rename the custom field to something else which does not cause this issue in the Column search.
      2. Add this renamed field as a column to the List View in the Issue Navigator
      3. Rename the custom field back to what it originally was

      Workaround 2

      Increase the number of fields displayed in the control from the default 25.

      Note, that this only helps if the number of status-named fields is not significantly higher than 25, where increasing the threshold will allow you to easily filter through all status-named fields without cutting off.

      1. Modify the file <JIRA_INSTALL_DIR>/atlassian-jira/includes/ajs/list/List.js as below (after backing up the original file)
        find the line below:
        var maxResult = this.maxInlineResultsDisplayed;

        and modify it as below, for example:

        var maxResult = 40;

        Here 40 is the new max length of the list, instead of 25. If this is not enough you may increase it further, but too large values can cause other issues related to display, so better to keep this as low as possible.

      2. Rename List-min.js file to List-min.js.hide.
      3. Restart Jira, clear the browser cache, and test if you can reach the desired field.

       Note that if you update Jira, this procedure will have to be applied again on each node.

      Workaround 3

      Select the required field via developer tools manipulations in the browser. You can manually locate the required input control for the field from the page source code, and enable it by following these steps. In this case, we will do this with the "Status" field:

      1. Perform an issue query or click "View all issues and filters" to cause a list of issues to be displayed.
      2. Click on the "Columns" dropdown.
      3. Scroll to the bottom of the list.
      4. Right-click on the text "Continue typing to refine further". (You can actually right-click anywhere in the Columns chooser, but this puts you close to the tag you're going to be looking for in step 6.)
      5. Select "Inspect" (on Chrome). This should open a browser development window to the right where you can inspect and modify the page's HTML.
      6. In the "Elements" window at the top of the inspection area (on Chrome), scroll down until you see an element titled
        <select id="user-column-sparkler"...>.
      7. Expand "user-column-sparkler".
      8. Expand "optgroup label" within it.
      9. Scroll down until you find the node <option title="Status" value="status">Status</option> (It may be necessary to click "Show all nodes" to see it.)
      10. Right-click on that node and select "Add attribute". Type: selected="selected". The node should now read:
        <option title="Status" value="status" selected="selected">Status</option>
      11. Click "Done" back in the column chooser widget.
      12. The "Status" column should now appear in your issues list. It should not be necessary to repeat this.

        1. List_old.js
          31 kB
        2. List.js
          31 kB
        3. List.js
          31 kB
        4. List-min_old.js
          16 kB
        5. List-min.js
          16 kB
        6. List-min.js
          16 kB

            [JRASERVER-59412] See more available fields for Columns in Issue Navigator without typing

            Domenico Macrini added a comment - - edited

            I suggest a solution easy to implement for this issue: sort the result of the filter in ascending order by length. This is enough to have always on top the exact match, even when a field with a short name si searched and such a name is part of too many other field names! 

            Domenico Macrini added a comment - - edited I suggest a solution easy to implement for this issue: sort the result of the filter in ascending order by length . This is enough to have always on top the exact match, even when a field with a short name si searched and such a name is part of too many other field names! 

            Emily Christie added a comment - - edited

            This is a huge pain - Jira default fields or fields with ONLY the text that matches should display as a priority. Curious of timeline for this update.
             

            Emily Christie added a comment - - edited This is a huge pain - Jira default fields or fields with ONLY the text that matches should display as a priority. Curious of timeline for this update.  

            +1

            Stefan Dziomba added a comment - +1

            Great @Olga Springer.
            However just wanted to know how difficult it is to just provide a scroller so user can scroll and select whatever is needed?

            Though, yes "Exact Match" at top shall still be there.

            saket rustagi added a comment - Great @Olga Springer. However just wanted to know how difficult it is to just provide a scroller so user can scroll and select whatever is needed? Though, yes "Exact Match" at top shall still be there.

            Olga Springer added a comment - - edited

            Dear Jira users,
            We are glad to announce that this issue will be addressed in one of the incoming releases. As you had proposed, we changed the mechanism to prioritise exact matches to the top of the list. For the Columns picker in Issue Navigator, the exact matches of what you search will be prioritized and put at the top of the drop-down list. That will allow you to select any desired field as a column in the List View mode in Issue Navigator.

            Thank you for the feedback!

            Olga Springer
            Product Manager,
            Jira Data Center

            Olga Springer added a comment - - edited Dear Jira users, We are glad to announce that this issue will be addressed in one of the incoming releases. As you had proposed, we changed the mechanism to prioritise exact matches to the top of the list. For the Columns picker in Issue Navigator, the exact matches of what you search will be prioritized  and  put at the top  of the drop-down list. That will allow you to select any desired field as a column in the List View mode in Issue Navigator. Thank you for the feedback! Olga Springer Product Manager, Jira Data Center

            Can we please get this resolved? Having to teach HTML to each (non-technical) individual complaining about this issue is getting difficult.

            Carlos Gomez added a comment - Can we please get this resolved? Having to teach HTML to each (non-technical) individual complaining about this issue is getting difficult.

            +1 to "Sort exact matches on top"

            Diana Karazlateva added a comment - +1 to "Sort exact matches on top"

            Please please please, sort exact matches to the top of the list and this problem will be solved in half a day.

            Randy Wilson added a comment - Please please please, sort exact matches to the top of the list and this problem will be solved in half a day.

            Work-around provided by local Jira management team in my company has asked for fiddling with the HTML code using inspect and get the job done and there are 10 steps in total to get the work done. Not sure if this is the level of quality we expect from an Enterprise product. Please do let us know when will this get resolved.

            Bhupinder Guleria added a comment - Work-around provided by local Jira management team in my company has asked for fiddling with the HTML code using inspect and get the job done and there are 10 steps in total to get the work done. Not sure if this is the level of quality we expect from an Enterprise product. Please do let us know when will this get resolved.

            Please fix this, I can't create any reports now

            Karri Adkins added a comment - Please fix this, I can't create any reports now

              b6cf9181bff6 Krystian M
              kliou Kevin Liou
              Affected customers:
              131 This affects my team
              Watchers:
              145 Start watching this issue

                Created:
                Updated:
                Resolved: