I have a custom field with name say X.
I have users belonging to group A and group B.
I want when the users of group A create a JIRA issue, the custom field X should show on the create issue screen. If the user of group B create the issue, the custom field X should hide.