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.

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I query tasks (or subtasks) that have no linked issues

Stephan Hostie October 21, 2014

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?

4 answers

1 accepted

0 votes
Answer accepted
JamieA
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.
October 22, 2014
issuefunction not in hasLinks()

if you are using a recent version of script runner.

0 votes
Stephan Hostie October 22, 2014

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.

0 votes
Stephan Hostie October 21, 2014

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.

0 votes
Ollie Guan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 21, 2014

for example:

project = xxx and issuetype= xxx and issueFunction not in hasLinks("blocks")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events