Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

ScriptRunner Enhanced Search: JOIN-like query to show info for linked issues

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.

1 answer

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.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

172 views 1 6
Read article

Atlassian Community Events