Support {{now.withDayOfWeek("")}} Function

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Smart-values
    • 0

      Issue Summary

      When now.withDayOfWeek("") is used in A4J rules, it returns nothing.

      Steps to Reproduce

      1. Create an automation rule to create a ticket in a project or an automation rule with a trigger Issue commented.
      2. In the Create issue event, include now.withDayOfWeek("") in the summary or a Log action with Log message - Week :now.dayOfWeek("").
      3. Execute the rule and check the week number in the issue summary.

      Expected Results

      now.withDayOfWeek("") should return the correct date.

      Actual Results

      now.withDayOfWeek("") returns nothing.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available.

        1. Screenshot 2021-06-10 at 2.53.18 PM.png
          227 kB
          Deepak Kumar
        2. Screenshot 2021-06-10 at 2.55.20 PM.png
          172 kB
          Deepak Kumar
        3. Screenshot 2021-06-10 at 2.55.57 PM.png
          236 kB
          Deepak Kumar
        4. Screenshot 2021-06-10 at 2.56.15 PM.png
          23 kB
          Deepak Kumar

            Assignee:
            Unassigned
            Reporter:
            Deepak Kumar
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: