Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-438

{{now.weekOfYear}} returns the wrong week number

    XMLWordPrintable

Details

    • Severity 3 - Minor

    Description

      Issue Summary

      When now.weekOfYear is used in A4J rules, it returns the wrong week number

      Steps to Reproduce

      1. Create an automation rule to create a ticket in a project
      2. In the Create issue event, include now.weekOfYear in the summary
      3. Execute the rule and check the week number in the issue summary

      Expected Results

      now.weekOfYear should return the correct week number

      Actual Results

      now.weekOfYear returns the wrong week number

      Workaround

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

      Example:
      In the screenshots attached, the task created shows week number 3 but we are in week 2 (Jan 11 - Jan 17) of 2021

      Attachments

        Activity

          People

            Unassigned Unassigned
            nvykunta Nagarjuna (Inactive)
            Votes:
            21 Vote for this issue
            Watchers:
            20 Start watching this issue

            Dates

              Created:
              Updated: