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

Analytics state (enabled/disabled) cannot be changed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 9.8.0
    • 9.0.0, 9.2.0, 9.1.1, 9.4.0, 9.3.1, 9.4.4, 9.7.1, 9.4.5, 9.4.8
    • 9
    • 6
    • Severity 2 - Major
    • 40
    • Hide
      Atlassian Update – 12 June 2023

      Dear Customers,

      We're happy to announce that this issue was fixed in 9.8 release. Learn more about the release

      The issue was caused by a bug in the Analytics Client Plugin which resulted in the request payload always having 'analyticsEnabled": true' when pressing Save regardless of if the Enabled or Disabled radio button had been selected.

      This bug was fixed in analytics-client version 8.2.6. Jira 9.8.0 and higher come bundled with the fixed version and have been confirmed as no longer being affected by this bug. 

      Best regards

      Magnus Karlsson
      Jira Developer

      Show
      Atlassian Update – 12 June 2023 Dear Customers, We're happy to announce that this issue was fixed in 9.8 release. Learn more about the release The issue was caused by a bug in the Analytics Client Plugin which resulted in the request payload always having 'analyticsEnabled": true' when pressing Save regardless of if the Enabled or Disabled radio button had been selected. This bug was fixed in analytics-client version 8.2.6. Jira 9.8.0 and higher come bundled with the fixed version and have been confirmed as no longer being affected by this bug.  Best regards Magnus Karlsson Jira Developer

    Description

      Issue Summary

      Analytics cannot be enabled/disabled in Jira 9.4.0.
      This problem is not reproducible in Jira 8.20.

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Move to JIRA ADMINISTRATION > System > Analytics
      2. [Atlassian Analytics] shows Enabled by default
      3. Select [Disabled], you will see 'Configuration change saved successfully'
      4. Refresh the page

      Expected Results

      Analytics keep being disabled.

      Actual Results

      Analytics go back to enabled.

      Side note: it also seems to be happening the other way round (if the Analytics are Disabled in the first place, they cannot be Enabled).

      Workaround

      Use the following REST API call to disable it:

      curl -v -u admin:admin -X PUT \
        -H 'Content-Type: application/json' \
        '<jira-base-url>/rest/analytics/1.0/config/enable' \
         --data-raw '{"analyticsEnabled":false}'
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rli@atlassian.com Rick Li
              Votes:
              6 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: