Using JQL to search for remote issue links

Mark Terrel December 22, 2012

Is it possible to search for issues in JIRA that have a remote issue links? And if so, can I actually search on the content of the issue link?

3 answers

1 accepted

2 votes
Answer accepted
darylchuah
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 23, 2012

Regarding on your issue, I have found one new feature request has been raised: https://jira.atlassian.com/browse/JRA-29072 which is similar on your issue.

This issue is regarding on *Issue Navigator should display the Remote Link*. It seems like this feature is still not implemented yet.

On a side note, I did some testing on my test instance as well. However, I am not able to retrieve any issues that have remote-linked with other issues placed in another instance via JQL.

My opinion is that if the issue navigator is still not able to retrieve it, then JQL won't be able to work as well.

So please try to vote this feature request ticket: https://jira.atlassian.com/browse/JRA-29072 to increase its popularity and don't forget to add it to your watchlist for future updates.

1 vote
Natalie Wenz June 15, 2014

You can try to use the script runner plugin for jira.

But you need to know the url of the remote instance where issues link to.

An example is linking issues to a confluence page. You can add the query:

issueFunction in linkedIssuesOfRemote("http://www.acme.com/confluence/pages/viewpage.action?pageId=11469162")

Deepali Bagul March 2, 2018

Hi @Natalie Wenz

I am trying to search for issues that are listed on a  specific confluence page. I used this post function and it does works but it is not showing all the issues on that page. 

issueFunction in linkedIssuesOfRemote("query", "pageId=11469162")

 I have around 83 epics listed in confluence page but the above JQL is resulting in only 74 issues

Please guide.

0 votes
Jobin Kuruvilla [Adaptavist]
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.
December 23, 2012

Nope, there is no way do that with JQL.

Suggest an answer

Log in or Sign up to answer