HI,
I have a saved filter as below:
project = Archer AND "Project Team" = "The Magpies" AND type in (Epic, Story, "User Story", Sub-task) AND status not in (closed) AND (issueFunction in hasLinks("depends upon") OR issueFunction in hasLinks("is blocked by")) ORDER BY status ASC
But noticed that currently it is throwing below exception:
I would like to know how i could use this to get the results.
It means that your Jira installation has more than one 'is blocked by' link types. You can see all the link types in your system if you are a Jira administrator. See also the Configure issue linking.
Your JQL query is using the hasLinks() function which is provided by the Scriptrunner plugin. It appears that this plugin can't accurately return results when your environment has two or more link types with the same description. Perhaps you can edit one of these descriptions to be different in order to get past this problem.
Hi,
If you search for link direction names using hasLinks and there is more than one link type with the same direction name ScriptRunner can’t tell which one to use for the search so we throw an error.
Hope that clarifies.
Katy
Adaptavist Product Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Katy Kelly
Yes I have noticed the same problem.
What if I want to search for link direction names like "relates to" in JIRA?
It appears that "relates to" comes as default with more than one link type with the same direction name. See link below:
https://confluence.atlassian.com/adminjiraserver/configuring-issue-linking-938847862.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.