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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • Issue - Backend
    • None

    Description

      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'.

      Attachments

        Activity

          People

            Unassigned Unassigned
            1965e5c0a44d Nathan Phillips
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: