Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.
×The Epic to child part is fairly simple.
The difficult part and one that I am struggling with currently is only copying certain fix versions from the Epic's Fix Version field.
Let's say Epic-1 has Fix Versions "ABC 2024" and "123 2024." I would like to copy only the "ABC 2024" Fix Version and not the "123 2024" Fix version.
Any ideas?
Do you have specific rules for exclusion? if so, you can iterate through the list of fixVersions and if they match the rules for exclusion then don't append in Epic else append it.
Let's say the rule is if the fix version doesn't contains ABC then don't append it and if it does then append it.
Is that enough of an exclusion rule?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Iterate over fixVersions
{{#issue.fixVersions}}
if(name.match("*(ABC)*"), <True do something>, <False do other logic>)
{{/}}
see if this works for you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For the true and false sections, how would I copy that specific fixversion name if true and do nothing at all if false?
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.