Filter and display only linked issue in filter query
Asked by Davide Barri:

In the filter issue query, I would like to see the list of features linked to the Portfolio epic with the relationship "Split to". Currently I can see all the issue linked to the porfolio epic (issue link), but I cannot select just the ones with relationship "split to".

is possible to filter in order to export just the issue related with at least one portfolio epic but i don't want this. I want to display in the column "linked issue" just the issue with split to so I can also click and open just issue with the relationship "Split to"

Is it feasible?


Answers:
author: Lisa Forstberg
body: Hi [@Davide Barri](/t5/user/viewprofilepage/user-id/5579486) ,

Welcome to the community!

Not sure I entirely get what you are after but I'll give it a try.

You will not be able to present a column in a filter view that only contains links to issues of a specific linktype. To achieve that you have to explore if Automation can pull out certain links and then represent those links in a new custom field that can be displayed as a column.

You would need to go the other way round and use the filtering options to find the list of features linked to your Epic using these advanced filtering options:

* Find issues that are linked to a particular issue:  
  `issue in linkedIssues(ABC-123)`

* Find issues that are linked to a particular issue via a particular type of link:  
  `issue in linkedIssues(ABC-123,"is duplicated by")`

Issue links filtering and reporting is a little bit of a weak spot in Jira, see the doc on the native Jira filtering options [here.](https://confluence.atlassian.com/jiracoreserver/advanced-searching-functions-reference-939937722.html)Addons Scriptrunner give you more advanced filtering options.

There are other ways to work with visualising hierarchies though (I think your Feature to Epic is a hierarchy?) . Maybe visualising this in the dependency view in Plans / Advanced Roadmaps? Addon Structure for Jira lets you display a hierarchy of issues filtered on specific link types.

All the best

Lisa

comments: author: Davide Barri
body: Hi Lisa,

thanks for your answer.  

Basically what I want is that in the field Links it will appear only the issue linked with the link type "Split to" and I want to remove the other issues.

![2024-09-03_09-02-20.png](https://community.atlassian.com/t5/image/serverpage/image-id/345194i309283AF1C84B0BA/image-size/large?v=v2&px=999 "2024-09-03_09-02-20.png")

<br />

I'm not sure if this is feasible.

There is a function called "linkedIssues()" but it only filter the result, it not removed the issues.


author: Lisa Forstberg
body: Yes, I suspected you wanted this visualisation. Not possible in the filter view I am afraid.

The only way I can think of that will produce exactly what you want is to create another custom field (which then can be represented as a column in your filter view) and work with automation to fetch and update that field with links of that specific kind. And I am not totally sure it can be done with automations..

I think the better option is to explore the addon market for specific addons for views that visualize links.

br

Lisa


Tags: data-center

filter

issue

jira-data-center

query

sql