Can you help me to set up an automation that automatically creates the next fix version iteration upon releasing the active one?
I was trying to use this JQL but it doesn't seem to work:
{{version.name.substringBeforeLast(".")}}.{{#=}}{{version.name.substringAfterLast(".")}}+2{{/}}
Thanks!
Hi @ahiggins -- Welcome to the Atlassian Community!
FYI that for automation related questions, please consider posting an image of your complete rule and the audit log. That may provide context for the community to offer ideas. Thanks!
Two things to try:
And, also the audit log can help diagnose stuff like this, so try to write your expressions to the log to see what is happening.
Best regards,
Bill
Hi @mtaylor
Please try to add the asNumber to convert the value before adding the 2 to the version.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To pause for a moment, I tried your rule as you wrote it and it worked for me as you expected.
I note you have selected a project in Create Version. Is that the same project where this rule is stored or in a different project?
If this is for a different project, this would need to be a global-scope rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for that information. A couple of follow-up questions:
I suspect what is happing is this rule was created at the global scope, even though you just need it for one project. The fix for that is to ask your site admin to move the rule back to Single Project scope for your target project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.