How Can I filter .jql results?

I am using the following query in Confluence to return results from JIRA;


  • (issue in linkedissues(Project Scope)) and ((project = P1) or (project = P2)) and ("Internal/External" = external)
With the following display settings;
  • Display as Table, Columns to display: Key, Release Note Description & Linked Issues
What I want this to return is a list of all the records which are a part of the Project Scope belonging to Projects P1 & P2 which is then displayed with the settings mentioned above.
The problem I have though is that because I have the Linked Issues column being displayed, this is displaying links to Projects P1 and P2 (which is fine), but also to Project P3 - which I don't want.
Is there any way to specify which Projects I want displayed, or is it the case that because I have the Linked Issues column being displayed, it will just display ALL the linked issues regardless of the Project they are in?

2 answers

1 accepted

You would need the ScriptRunner plugin for JIRA (server only), since it allows you to make a subquery in the linkedIssues function. For instance:

issueFunction in linkedIssuesOf("project in (P1, P2)", "project scope")

That will only return issues linked to issues in P1 or P2 through the "project scope" link.

0 vote

Hi Steven,

If I understood it right, the query results are OK, but you want to hide some specific information of those results directly on the Confluence table.

I suppose you had a good hunt around and found out that - unfortunately - it's not a current feature, so we'd welcome you to log features and bugs with us directly at

In case of having any questions about Confluence or another Atlassian product that can't be found in the Atlassian documentation, please, let us know right here or rise an issue at

Best regards,
Lucas Machado
Atlasssian Support

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,853 views 27 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you