on this link there is a interface https://docs.atlassian.com/sal-api/2.6.0/sal-api/apidocs/com/atlassian/sal/api/user/UserManager.html
how can i import that to jython validator. and how can i use getRemoteUsername and isuseringroup functions. is there any example
You can access managers usign the ComponentAccessor.
https://docs.atlassian.com/jira/latest/com/atlassian/jira/component/ComponentAccessor.html
GroupManager (https://docs.atlassian.com/jira/latest/com/atlassian/jira/security/groups/GroupManager.html) has userInGroup. UserUtil and UserManager is also accessible via ComponentAcessor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.