Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-292

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

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Smart-values
    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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

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

                Created:
                Updated: