Automation rule fails when using smart value with 'format("MM/dd/yyyy")' to set a Date attribute

XMLWordPrintable

    • 1
    • Minor
    • 1

      Issue Summary

      Attempting to use format("MM/dd/yyyy") in a smart value to set a Date attribute results in an error indicating that the date is invalid.

      Steps to Reproduce

      1. Create an automation rule to set a Date attribute in an object.
      2. Configure the rule to use a smart value with format("MM/dd/yyyy"). For example:

      {{now.format("MM/dd/yyyy")}}

      Expected Results

      The attribute is updated successfully with the formatted date.

      Actual Results

      In the audit log, different error messages might appear depending on the specific actions the automation is trying to perform. However, all of them indicate that the provided date format is invalid.

      Workaround

      To avoid this issue, use a different smart value format. For example:

      jqlDate
      format("dd/MMM/yyyy")

            Assignee:
            Unassigned
            Reporter:
            Bruna Silva
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: