Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi!
in groovy, I can search for tasks that have a specific type of links.
Is there a way to check which issues have no link, or alternatively no links of a special type?
issuefunction not in hasLinks()
if you are using a recent version of script runner.
Thanks, that was the information I needed: to update Script Runner. hasLinks() requires at least one argument on my JIRA instance. I noticed some similar problems with another function, but didn´t investigate further.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes and no, that gives me also all tasks with other link types.
But you´re right, my question was not very clear.
I just want the tasks that have no link at all, without querying every link type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for example:
project = xxx and issuetype= xxx and issueFunction not in hasLinks("blocks")
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.