JQL: How to search for JIRA issues that refer to URLs with a specific pattern?

At Jira, we use regular web links to point to an independent issue tracker (for customer support). These links can be easily identified by their domain name or URL prefix, for example, they all have the following form:

http://support.mycompany.com/ticket#1234

      

How can I filter out Jira issues that have URL links after this pattern?

The JQL Editor doesn't offer anything related to release channels, and "link" and "URL" are really bad search terms.

+3


source to share


1 answer


ScriptRunner for JIRA offers a JQL Script function "linkedIssuesOfRemote" that looks for issues that have a link to a specific web page, for example:

issuefunction in linkedIssuesOfRemote("http://support.mycompany.com/ticket#1234")

      

will return all problems related to this page. Instead of a link, you can also use the link title.



Unfortunately, wildcards are not supported (yet), so this doesn't work:

issuefunction in linkedIssuesOfRemote("http://support.mycompany.com/ticket*")

      

+1


source







All Articles