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 do I show all issues with a link (linkedissue) using JQL

I know how to search for links of a specific #, but I can't figure out the JQL to just show all Issues that have a linked issue.  I am trying to find out what links users are using for story to story linking when there is a dependency. HELP!

2 answers

1 accepted

1 vote
Answer accepted

Hello Jana,

alternatively, if you have Script Runner installed, you can use the following functions in JQL:

issueFunction in hasLinks()

This function supports a link description as parameters, e.g. to show only issues with a "blocks" Link:

issueFunction in hasLinks(blocks)

Additionally, there's he hasLinkType function, which looks for specific types of links. E.g. all issues with links of Type Duplicate:

issueFunction in hasLinkType("Duplicate")

You can of course provide additional filter criteria and combine them using AND and OR as usual using JQL.

I hope this helps you.


Just to confirm, you cannot search for all linked issues with basic JQL.   you will need a 3rd party Add-on to extend JIRA's JQL capabilities. 


Here are the examples:

We are the vendor of the latest one, so feel free to ask any question regarding it.


You will need a plugin like JQL Tricks to do this.

Suggest an answer

Log in or Sign up to answer

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