I have created a bunch of sprints called #1, #2, #3, ...
I would like to add a rule in automation such that if an issue has a summary "blabla bla whatever #1", it is automatically assigned to sprint #1. Similarly, n issue with the summary "my new issue #3" should be automatically assigned to sprint #3.
I have played with if-else blocks and regexps with advanced compare options without success.
It seems that the problem lies in the assignment to sprints. I have tried to set the sprint field to {{issue.summary.right(2)}} but it does not work. I suppose that the number of the sprint is expected instead of its name. But I have no idea about how to retrieve the sprint number based on its name.
Any help will be very much appreciated