How to filter a parent ticket



How can we filter a parent ticket from the same issue type?

The reason behind is if we have a Problem Report ticket from customer will usually leads to many cloned tickets.

When come to reporting, this will somehow causing misunderstanding to the management that the project has many Problems.

If we can have a filter to sort for the parent ticket, it would be great.


Look forward to your reply.






1 answer

1 vote


I guess your parent issue is linked to a child issue by a link. There is an out of the box JQL function

issue = linkedIssues(issuekey, linktype)

but it is not flexible enough because you need to pass an issue key.

There are more flexible JQL functions in Adaptivist Scriptrunner plugin. For example, linkedIssuesOf(Subquery, link name). You can read more here

Thanks Alexey...

I have problem to attach a screenshot. Could you advise on this?

This will definitely help me to elaborate my issue to you.

What is the problem? I never had problems with it.

I was not able to click the insert button. Now it's fine.


From the screenshot, how can we short the parent ticket? IBBI-2604.

What report is it?

I would like to know how the create a filter to sort the parent ticket (IBBI2604).

For reporting, we will be using the Dashboard, 2 dimensional filter. The number will be misleading as the main ticket is IBBI-2604.


I guess it would be like this

issueFunction in linkedIssuesOf("", "is parent of")

You would select all issues which have is parent of  link. I guess that would be all parens. 


I am stuck.

Could you advise how to proceed?

In the search field instead of 

issueFunction in linkedIssuesOf()

type this one

issueFunction in linkedIssuesOf("", "is parent of")

I am sorry Alexey,

I am still lost.



The filter shall only filter out all the purple tickets. Issue type = ChM Tasks.

You can add condition for the issue type 

issueFunction in linkedIssuesOf("", "is parent of") and issuetype=ChM 

Hi Alexey,

Thanks for the prompt response.

The above is useful.


I do have another scenario here.

What if the we clone the ticket for other disciplines and now we would like to look for the only the origin of the ticket?


Issue links have two directions. You can find it in cog item -> issues -> issue linking. For example, link Cloners has two directions "clones" and "is cloned by". If you want to get all issues from which other issues were cloned then you can write the following query

issueFunction in linkedIssuesOf("", "clones") (it is your case)

If you want to get all issues that were cloned from other issues you have to write

issueFunction in linkedIssuesOf("", "is cloned by")

Hi Alexey,

We are very close to the outcome.

Below is the filter that I use:

issueFunction in linkedIssuesOf("", "clones") AND issuetype = "ChM Task" AND project = I_xx_xxx_xxxx

With the above filter, I do see some duplicate tickets. IS there a filter to get only IBBI-2842?

There are also some standalone tickets, (No link) and some tickets that linked to IMS Application.


try like this

issueFunction in linkedIssuesOf("", "clones") AND issuetype = "ChM Task" AND project = I_xx_xxx_xxxx and issueFunction not in hasLinks("is cloned by")

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

808 views 3 9
Read article

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