Message 'An unknown error occurred while trying to perform a search.' using collaborationLinks JQL function

Symptoms

While using the collaborationLinks JQL function, the message "An unknown error occurred while trying to perform a search." is displayed instead of actual results.

Conditions

Jira version is 7.x.x. and project(s) contains more than 65000 issues with OSLC links.

Solution

None.

Cause

Your environment has exceeded a known Jira 7 limitation of not having more than 65000 issues matching a condition in a function.

Alternatives