This is another thread I opened which conveys what I am trying to do:
I am experimenting with doing this using Enhanced Search for ScriptRunner, but it's not clear this is possible from reading documentation and looking at examples. The linkedIssuesOf and linkedIssuesOfRecursive seem promising but it's not clear what the syntax might be to produce a desired result.
Hi Matt,
Thank you for your question.
I can confirm that with ScriptRunner for Jira Cloud that you can use the linkedIssuesOf() and linkedIssuesOfRecursive() functions to return the linked issues of all issues which match the subquery for the function.
However, the ways these functions work is that they will return any results which match the subquery specified inside of the function and you can then see any values on these issues by setting the columns.
However, you can not use the functions to show values off another issue on an issue using a SQL style Join as the JQL functions are not designed to work in this way.
This means your requirement of showing the value from the linked issues on the parent issues cannot be achieved using the Enhanced Search functionality of ScriptRunner for Jira Cloud.
I hope this information helps.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.