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

Scrolling through options for the field Statistic Type in gadgets is not possible anymore



    • Bug
    • Resolution: Fixed
    • Low
    • 9.2.1
    • 8.22.2, 8.20.8, 9.1.0, 8.20.15
    • Dashboard & Gadgets
    • None


      Issue Summary

      When editing gadgets that allow you to configure custom fields via drop-down box, it won't scroll through them, preventing the user from selecting the custom fields that doesn't fit on the screen.

      Screen Recording 2023-02-15 at 17.58.08.mov

      The same happens for the Statistic Type on Pie Chart gadget as well as XAxis and YAxis fields on a 2D Filter Statistics. Other similar gadgets/fields may also be affected.

      Gadgets showing this problem:

      • Issue Statistics
        • Field: Statistic Type
      • Two Dimensional Filter Statistics
        • Fields: XAxis, YAxis
      • Pie Chart
        • Field: Statistic Type

      Steps to Reproduce

      1. Create a Dashboard.
      2. In that dashboard, add a gadget that uses the Statistic Type field. As an example, the Issue Statistics gadget.
      3. Create multiple custom fields so there are a lot of options for the Statistic Type.
        1. Alternatively you may reduce your browser window size so it would require scrolling with less fields.
      4. Click the dropdown to see the options available for the Statistic Type field.

      Expected Results

      A scroll bar is presented and you're able to scroll through the options.

      Actual Results

      There's no scroll bar and it is not possible to access all possible values for the dropdown.


      Workaround 1

      Zoom out the page to show more options:

      Note that this workaround will only work if the full list of available fields is small enough. If the list is huge (hundreds of fields), then it will not be possible to zoom out the browser to see the entire list.

      Workaround 2

      If the workaround 1 is not an option (due to the huge list of fields), try this workaround instead, which consists in using the Browser Dev Tool to manually select the field of your choice.

      Here are the steps:

      • Let's assume that you have 2 fields using the same name: Test Field in the page ⚙ > Issues > Custom Fields:
      • Try to configure the field you are interested in (by clicking on "... > Edit" next to this field, and get the custom field ID from the Browser URL (in the example below, it has the ID 10901):
      • Go to the Dashboard, add the Pie Chart (or any other statistics Gadget)
      • Open the Browser Dev Tool
      • Click on the Dev Tool tab that has a square and arrow icon, then click on the field next to Statistic Type in the UI. You will see the element corresponding to this field. Expand it to see the full list of available fields
      • Scroll down until you see the field that you are interested in
      • Double click on Value in the Browser Dev Tool, and add the following string right before the > icon, as shown in the screenshot below. Make sure to add a space before the 1st selected word. After you press enter, you should see that the field of your choice is automatically selected

      You can also see the workaround in action in the video below:


        1. image-2022-05-19-16-43-18-445.png
          195 kB
        2. image-2022-05-19-16-44-48-551.png
          326 kB
        3. Screen Recording 2023-02-15 at 17.58.08.mov
          13.15 MB
        4. Workaround_Step1.png
          452 kB
        5. Workaround_Step2.png
          404 kB
        6. Workaround_Step3.png
          686 kB
        7. Workaround_Step4.png
          790 kB
        8. Workaround_Step5.png
          773 kB
        9. Workaround.mov
          56.27 MB

        Issue Links



              mmarzecki Mateusz Marzęcki
              83c98eb92a41 eneis
              9 Vote for this issue
              28 Start watching this issue