Parent Link and Team fields are being audited in History even when they're not updated

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 3.29.6, 8.15.1
    • Affects Version/s: 3.29.0, 3.29.1, 3.29.2, 3.29.4
    • Component/s: Historical
    • 2
    • Severity 3 - Minor
    • 0

      Summary

      When there is no change to the Parent link or Team field (new value is same as old value), the issue history is still tracking this information like a value change with every single change to any other issue field.

      Steps to Reproduce

      1. Open an issue in Jira with Parent link and Team fields showing up on issue view and edit screens
      2. Set the Parent link value to point to another issue
      3. Notice the issue history tracks this change
      4. Set the Team value
      5. Notice the issue history tracks this change
      6. Edit the issue and change another field such as priority, description, ...

      Expected Results

      Issue history should only track the new change made

      Actual Results

      Issue history logs the change to the field along with Team and Parent link and display unchanged values.

      Notes

      Along with recording a change for Parent Link, "issuelink_deleted" and "issuelink_created" events are fired because the issue link for the parent issue is indeed removed and recreated. This may needlessly cause automations to fire.

      LOG:  execute <unnamed>: DELETE FROM public.issuelink WHERE ID=$1
      DETAIL:  parameters: $1 = '10705'
      ...
      LOG:  execute <unnamed>: INSERT INTO public.issuelink (ID, LINKTYPE, SOURCE, DESTINATION, SEQUENCE) VALUES ($1, $2, $3, $4, $5)
      DETAIL:  parameters: $1 = '10706', $2 = '10300', $3 = '10501', $4 = '10800', $5 = NULL
      

            Assignee:
            Anne Jang
            Reporter:
            Gowri Kumar
            Archiver:
            Aakrity Tibrewal

              Created:
              Updated:
              Resolved:
              Archived: