Hello,
I'm trying to set up rules to automatically create fix version when a sprint is started and assign them to the tickets in the sprint. I managed to get that part to work but now I'm working on the cases where a ticket is moved into an active sprint. I'm also trying to make it assign the fix version to subtasks when this happens.
I have this rule set up but for some reason it doesn't work all the time. If I create a new ticket in the backlog and move it to an active sprint, it will work. I think if a ticket was part of a previous completed sprint and was carried over, it causes some issues.
Those old values in the sprint field help in some cases and not in others...
How about this: rather than test on isStarted use a JQL condition test for the triggerIssue Key and sprint in openSprints()
Also, how do you know which version to assign? Are you always using earliestUnreleasedVersion() or is it somehow aligned to the names of your sprints? If it is the second case your solution may need to be a bit more complex.
Best regards,
Bill
Hi Bill,
I'm playing around with sprint in openSprints() now and I think maybe that might end up being the way to go. Thanks again for making my life easier!
I am using the sprint name as the version name because it solves more problems than the other way. I think I still have to fix a few edge cases but I'm on my way now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.