Skip to end of metadata
Go to start of metadata

Problem

We can confirm that this error is caused by the fact that the ScriptRunner add on user does not have the Browse Users and Groups global permission which the enhanced search functionality needs to run correctly.

Solution

In order to resolve this error, you will need to navigate to the global permissions page inside of JIRA which is located at <JIRABaseURL>/secure/admin/GlobalPermissions!default.jspa.

Once on this page if you navigate down to the bottom and then select Browse Users and Groups option in the Permission box then select the atlasssian-add-ons-admin option in the Group box and add this group into the permission then it should resolve the error.

This is a special group for all add-on users and adding this group to the permission will give the ScriptRunner Add on the Browse Users and Groups global permission.