Values are not captured in History tab properly when the component and version fields have multiple values

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      The history tab does not reflect the actual changes made to the fields below when they contain multiple values:

      • Fix Version/s
      • Affects Version/s
      • Component/s

      For example:

      • if the Fix Version/s field contains 1 value and a 2nd value is added to it, the "previous value" column will show an empty value
      • or, if the Fix Version/s field contains 2 values and 1 value is removed, the previous value will only show the value that was removed instead of showing the 2 values

      Steps to Reproduce

      1. Create 3 components
      2. Create 3 versions
      3. Open a Jira issue
      4. Add the 3 component to the issue
      5. Add the 3 version to the issue
      6. Check the history tab

      Expected Results

      The previous value and new value columns of the history tab should reflect the actual content of the fields as they were before and after.

      Actual Results

      The previous and new value columns never reflect the content of the fields that were modified.

      Instead, these columns only show 1 or 0 values.

      For example:

      • if we add 3 component (1 at a time), we should expect:
        • the Previous column to show:
          • 0 component
          • then 1 component
          • then 2 components
        • the new column to show:
          • 1 component
          • then 2 component
          • then 3 components
      • Instead, the previous column always shows 0 value, and the new column always shows 1 value only

      The same can be observed with the Fix Version/s field when versions are added 1 by 1. The history tab does not show multiple values in either the previous or new column

      The same issue also happens when the Fix Version/s field already has multiple values, and each value is removed 1 by 1

      Note 1

      This bug does not impact the Labels field. If multiple labels are added (1 at a time), then the history tab shows the right new and old values:

      Note 2

      This bug impacts the changelog smart value when using Automation For Jira. The changelog smart value is also missing some values when a value is added on top of another one for the impacted fields (Components, Fix Versions, Affected Versions).

      Workaround

      Currently there is no known workaround for this behavior.

        1. screenshot-2.png
          screenshot-2.png
          90 kB
        2. screenshot-1.png
          screenshot-1.png
          108 kB

            Assignee:
            Unassigned
            Reporter:
            Szymon Patacz
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: