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

"Created vs Resolved Chart" gadget in a remote mode renders graphs incorrectly for "Cumulative" option enabled

    XMLWordPrintable

Details

    Description

      Short overview
       
      For a setup with two connected JIRA instances, linked each other, the "Created vs Resolved Chart" gadget in a remote mode (external) renders graphs incorrectly with "Cumulative" option enabled. Displayed graph based on gathered data from a remote instance is not aligned with a related graph on a remote instance in a local mode.

      Expected results

      Based on exactly the same data both graphs should render identically.

      Actual Results

      The graph in a local mode displays data correctly, the gadget in a remote mode (external) is broken - the rendered graph is not aligned with the local one on a second JIRA node. See final_result.png

      Steps to reproduce

      1. Setup two JIRA nodes
        1. jira1 and jira2 with default sample setup.
        2. connect two nodes with each other by creating an application link:
          1. on jira1: Jira Administration -> Applications -> Application links, Configure Application Links: http://jira2:8080
          2. on jira2: Jira Administration -> Applications -> Application links, Configure Application Links: http://jira1:8080
      2. Create the Dashboard:
        1. Dashboards -> Manage Dashboards -> Create New Dashboard
      3. Create the gadget subscription:
        1. jira1: Add Gadget -> Manage Gadgets -> Subscription, Add a subscription: http://jira2:8080
        2. jira2: Add Gadget -> Manage Gadgets -> Subscription, Add a subscription: http://jira1:8080
      4. Add the local gadget to the Dashboard:
        1. jira1: Dashboards -> Your dashboard name -> Add gadget -> Charts -> Created vs Resolved Chart (By Atlassian * Local)
        2. jira1: Edit gadget -> Collection Operation, set Cumulative
      5. Add the external gadget to the Dashboard
        1. jira2: Dashboards -> Your dashboard name -> Add gadget -> Load all gadgets -> Charts -> Created vs Resolved Chart (By Atlassian * Local)
        2. jira2: Edit gadget -> Collection Operation, set Cumulative Totals: Yes
      6. Load or create some random data (create a few issues with different states: open, in progress, done etc)

      Workaround
      No workaround found.
       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tdudzisz Tomasz Dudzisz (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: