Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How Can I filter .jql results?

Steven Cannon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 2, 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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 2, 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
Machadinho
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 2, 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
TAGS
AUG Leaders

Atlassian Community Events