Details
-
Bug
-
Resolution: Unresolved
-
Low
-
Severity 3 - Minor
Description
Issue Summary
When now.weekOfYear is used in A4J rules, it returns the wrong week number
Steps to Reproduce
- Create an automation rule to create a ticket in a project
- In the Create issue event, include now.weekOfYear in the summary
- 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