I am trying to access the fix version on issues that are linked to another issue through a formula.
I am able to access other properties; however, any properties that are arrays (fixVersions, components, labels, etc.) do not return a value.
For example, this works:
issueLinks.map($.source.key)
However, this does not:
issueLinks.map($.source.fixVersions)
There is no error, just no values returned.
My organization is running Jira v9.4.2 and Structure v8.2.2 (both Server).
Hello @Jesse Wilson ,
Welcome to the Community!!
You will need the FLATTEN() function here.
issueLinks.MAP($.source.fixVersions).FLATTEN()
The problem is that issueLinks is an array of values and fixVersions is also an array, creating "an array of arrays", which needs to be flattened.
I do also want to point out that the current issue in the structure could be the "source", so you may need to review your formula to make sure it returns the desired results.
Please let me know if this helps!
Best,
David
Thanks @David Niro , that worked perfectly!
I thought I had tried to flatten previously because of that reason, but I must have mistyped something. I am also taking into account the source/destination combinations, but appreciate you mentioning it, nonetheless.
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.
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.