Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-81160

Automation - Fix Versions Field confusing results when using smart values like 'fieldChange.toString' and 'fieldChange.fromString'

      Summary

      When trying to utilize Jira Automation Rules and Smart Values against the Fix Versions Field, you get strange results.

      These Smart Values work as expected against more simple Fields like 'Description' and 'Summary' but 'Fix Versions' causes unexpected behavior.

      Example Smart Values with unclear results:

      {{fieldChange.fromString}} - Returns the previous value as displayed.{{fieldChange.toString}} - Returns the new value as displayed.
      {{addedFieldChange.values}} - Returns the new value/values added.
      {{deletedFieldChange.values}} - Returns the value/values deleted.

      How to Replicate

      1. Created two new Fix Versions in my Test Site.
      2. Added both of those Fix Versions to my Issue:
      3. Created an Automation Rule which utilizes the Smart Values above.
      4. Expectation is that if you REMOVED both of these Versions from the Issue, that the Audit Log would reflect both of these Fix Versions in the Audit Log.
      5. After navigating back to the issue, select the Fix Versions field to inline edit, select the X to remove both Fix Versions:

        • Result:
      6. The Automation Rule runs, but only writes one of the two removed Fix Versions to the Audit Log:

       

      Expected Results:

      Expectation is that any Fix Versions that are removed from the Issue should be captured and able to be utilized with the 'fieldChange' Smart Values.

      Actual Results:

      Unlike more simple Fields like Description/Summary which are able to print the Smart Values, Fix Versions is not reporting all of the additions and deletes.

       

      Note: I could not find a Component for 'Automation'.

            [JRACLOUD-81160] Automation - Fix Versions Field confusing results when using smart values like 'fieldChange.toString' and 'fieldChange.fromString'

            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            SET Analytics Bot made changes -
            UIS Original: 1 New: 2

            Please move this automation-related symptom to the AUTO project to improve visibility...

            And as previously noted, this seems to be a duplicate of the known issues with the changelog and list fields such as Fix Versions.

            Thanks!

            Bill Sheboy added a comment - Please move this automation-related symptom to the AUTO project to improve visibility... And as previously noted, this seems to be a duplicate of the known issues with the changelog and list fields such as Fix Versions. Thanks!
            Jiayi Litten made changes -
            Component/s Original: Issue - Backend [ 57390 ]
            Component/s New: Issue - Backend - Update [ 73902 ]
            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            SET Analytics Bot made changes -
            UIS Original: 3 New: 2
            SET Analytics Bot made changes -
            UIS Original: 4 New: 3
            SET Analytics Bot made changes -
            UIS Original: 3 New: 4
            SET Analytics Bot made changes -
            UIS Original: 2 New: 3
            Bugfix Automation Bot made changes -
            Priority Original: Low [ 4 ] New: Medium [ 3 ]

              Unassigned Unassigned
              1965e5c0a44d Nathan Phillips
              Affected customers:
              9 This affects my team
              Watchers:
              12 Start watching this issue

                Created:
                Updated: