It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How Can I filter .jql results?

Steven Cannon Aug 02, 2016

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?
Thanks!

2 answers

1 accepted

0 votes
Answer accepted
Nicolas Bourdages Aug 02, 2016

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 votes
Lucas Machado Atlassian Team Aug 02, 2016

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 jira.atlassian.com.

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 support.atlassian.com.


Best regards,
Lucas Machado
Atlasssian Support

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

946 views 7 17
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you