Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-7608

Tests Evolution gadget filters are erased when accessed by other users

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.2.11
    • 4.3.7, 5.0.2
    • Core, Gadget
    • None
    • XRAY 2021 Sprint 17
    • OK

    Description

      Description

      The Test Evolution gadget filters are erased (and the data shown is erroneous) when it is viewed by users that cannot fetch said filters through the rest/gadget/1.0/filtersAndProjects endpoint.

      This endpoint - contrarily to the one used for the gadget configuration's filter fields autocompletion (rest/gadget/1.0/pickers/filters) - only returns the user's own or other users shared (EDIT or VIEW) and favourited filters. That's why it is possible to configure the gadget with filters only to see them disappear after saving.

      Pre-conditions

      Have two users.

      How to reproduce

      1. With user A create a Dashboard and add the "Tests Evolution" gadget to it.
      2. With user A create your filters and add them to the aforementioned gadget's configuration. When you click "Save" the expected data is displayed on the gadget.
      3. Switch to user B and go the previously created Dashboard. The "Tests evolution" filter shows the wrong data and the filters have been erased from its configuration.

      Expected result

      The data displayed by the "Tests evolution" gadget must remain consistent across users (as well as its configuration).

      Version

      • 4.2.11

      Environment

      • All Jira and browsers

      Attachments

        Issue Links

          Activity

            People

              dpca Diamantino Campos
              fmtc Fabio Cunha
              Beatriz Silva [X] (Inactive), Diamantino Campos
              Votes:
              11 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 4 hours, 30 minutes
                  2d 4h 30m