• 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.

      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.

            [AUTO-1758] Allow variable usage within variables

            Enida made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 1017003 ]

            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:

            {{triggerIssue.duedate.plusBusinessDays(var1.asNumber)}}
            

             

            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

            Bill Sheboy added a comment - 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: {{triggerIssue.duedate.plusBusinessDays(var1.asNumber)}}   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
            jhaloot made changes -
            Labels New: jsw-s13
            Utkarsh Singh created issue -

              Unassigned Unassigned
              28e9293e2864 Utkarsh Singh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: