I have a rule that clones an issue and I need to separate versions. For that I have to store first and last version names to variable.
How can I do this?
I tried
{{issue.fixVersions}}{{name}}.substringBefore(",")
{{issue.fixVersions.name}}{{^last}}{{/}}
This does not work.
Any ideas?
OK, I managed it myself
{{issue.fixVersions.last.name}}
I do not believe it is documented what order the values are returned in the fixVersions list, so first and last may not be what you want.
Please consider looking at the list functions to get the min/max by release date and then using list filtering to target the exact one you need.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. Bill.
I had a task to separate tickets having exactly 2 fixVersions.
If you are interested, we have 2 products that are intended for different markets. 90% of code is the same. If a bug is found, it is fixed in "common" part of the app, but we still need to test solution in both products for possible regression. As long as bug is ready for testing we need to separate it into 2 bugs (one for one product, another for another - 2 fixVersions) and assign QA team to both.
I tried to persuade QA team not to perform testing activities on developers issues, instead have their own project with own workflow, fields, screens, integrations, but they still prefer to overcomplify tasks.
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.