When I release a version from the UI, I am prompted with an option to move all unresolved issues to another version (or ignore them and leave them as they are):
I want to create some automation that will provide similar functionality. Currently, I have a rule created to run on a schedule (every 2 weeks) that will create a new version, and then release the previous unreleased version (the default options for that action).
I'm struggling at trying to figure out how I can query all issues with fixVersion matching the just released version, and then assign them the fixVersion for the newly created ones.
I tried to create a JQL Branching statement, but I don't seem to be able to use a Jira smart value in my JQL statement.
Any ideas on how I can expand my current rule to accomplish this? Or possibly, with the aid of a secondary rule that triggers on version creation?