Details
-
Suggestion
-
Resolution: Fixed
-
None
Description
Issue Summary
{{issue.created.plusHours(issue.custom_text_field.multiply(2))}}
works in Cloud, but no server equivalent function available.
Summary of our findings:
- The multiply() doesn't exist in server release and we use * for multiplication – Maths
- The following expression works for multiplying the value from a custom field :
{{#=}}{{issue.custom_text_field}} *2 {{/}}
- Date/Time functions mainly works with static value – Date and Time functions
- The following expression works for adding two hours to the issue creation date/time:
{{issue.created.plusHours(2)}}
- However, we can't seem to combine both the functions together e.g:
{{issue.created.plusHours({{#=}}{{issue.custom_text_field}} *2{{/}})}}
Steps to Reproduce
- Create new custom text field and associated to all relevant screens
- Create new automation rule that multiply the number in custom text field and add to the issue created date/time
- Create a new issue with some number value in custom text field
- Check the issue created date/time
Expected Results
Issue created date/time should be updated accordingly
Actual Results
The date/time functions don't work with dynamic mathematical functions
Workaround
N/A
Attachments
Issue Links
- relates to
-
A4J-2500 Loading...