Audit logs do not show the 'old setting' for "Repository hook settings changed for repository" and "Repository hook settings changed for project" events

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      Whenever changes are made to the hook settings, the Audit logs do not show the 'old setting' for “Repository hook settings changed for repository” and “Repository hook settings changed for project” events.

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Add a test hook plugin to your Bitbucket instance repo/project.
      2. Change some settings in the hook plugin.
      3. Check the audit log event logged for “Repository hook settings changed for repository” or “Repository hook settings changed for project”.

      Expected Results

      Audit logs should show the 'old setting' for “Repository hook settings changed for repository” or “Repository hook settings changed for project” events.

      Actual Results

      The 'old setting' is missing from the Repository hook settings changed for repository Audit event that is logged. Also the JAVA Event API repositoryHookSettingsChangedEvent.getOldSettings() is empty.

      Workaround

      There are no workarounds for this. A workaround will be added once it is available.

            Assignee:
            Manish
            Reporter:
            Karthik Mahesh
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: