Hi!
I already know it is possible to generate a string to execute a loop a certain amount of times with getRightPad() as described on Jira Automation - Advanced Branching over smart values
This would generate X,X,X,X,X and you can do split(",") in Smart Value of an advanced branching branch.
What I need is to generate something similar but with numbers. I want to generate a sequence of numbers with a custom interval.
Example: 5 numbers with an interval of 2 -> 2,4,6,8,10
Or 3 numbers with an interval of 4 -> 3,7,11
I'd use this in a loop too and use the number to increment a date with that number of days.
Any ideas?