I have added below script to check if the user is present in the specific group in create transition
Jira workflow validator - user.groups.includes('RMD')
I have to check if the user is present in group RMD or site-admins
if the user is present in any one of the group then the user can create issues.