Disabling analytics has no effect (front-end problem)

XMLWordPrintable

    • 9.04
    • 1
    • Severity 3 - Minor

      Issue Summary

      When disabling analytics via the UI, the PUT request sends the wrong payload:

      PUT https://linux-99709.prod.atl-cd.net/jira/rest/analytics/1.0/config/enable
      
      {"analyticsEnabled":true}

      Therefore, analytics is not disabled.

      Tested in Firefox 138.0.1 Build ID 20250430203103 Darwin and Chrome 135.0.7049.115 (Official Build(arm64)

      Steps to Reproduce

      1. Jira Admin -> System -> Analytics -> Disabled -> Save

      Expected Results

      Front-end PUTs

      {"analyticsEnabled":false}

      therefore analytics is disabled

      Actual Results

      Front-end PUTs

      {"analyticsEnabled":true}

      therefore analytics is enabled

      Workaround

      Manipulate the payload in your browser, or use another HTTP client:

      curl https://your_jira/rest/analytics/1.0/config/enable -u admin:password -X 'PUT' -H 'content-type: application/json' --data-raw '{"analyticsEnabled":false}'

            Assignee:
            Unassigned
            Reporter:
            Alex [Atlassian,PSE]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: