Hi,
I am trying to use below mentioned script from Atlassian answers and trying to populate users from particular group in scripted field Its throwing errors. Searched scriptrunner from adaptivist the documentation really did not help.
import com.atlassian.jira.ComponentManager
def componentManager = ComponentManager.instance
componentManager.getUserUtil().getGroup("jira-users").getUsers()
I see that the api got changed from 6.4 to 7.1.0 I am a newbie to JIRA trying to figure out how API works and could not find any proper documentation.