-
Suggestion
-
Resolution: Unresolved
In an automation rule, if a user creates a variable var1 and uses it in another variable as -
{{triggerissue.duedate.plusBusinessDays({{var1}})}}
The var1 is not accepted as a valid value.
It would be great to have the first variable get accepted as a valid value.
- mentioned in
-
Page Failed to load
[AUTO-1758] Allow variable usage within variables
Remote Link | New: This issue links to "Page (Confluence)" [ 1017003 ] |
Labels | New: jsw-s13 |
Greetings!
The example shown in the description is incorrect as it has extraneous double-curly brackets and does not convert the variable with the asNumber function. Assuming the var1 shown is an integer number, the expression could be this:
To learn more about how to user variables as numbers for various smart value expressions, please see this community article I wrote on the topic:
https://community.atlassian.com/forums/Automation-articles/Automation-concepts-Using-Created-Variables-as-Numbers/ba-p/2953116
Kind regards,
Bill