I am trying to use permissions assigned to an individual/ group to determine the visibility of certain fields. Users from group XYZ should not be able to see Field1 while rest of the groups should be able to. How can I achieve show/ hide feature using script runner?
You can use ScriptRunner behaviour. You can find an example here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This does not seem to be helpful. There's nothing in the Behaviour description that hints at reading information from the current user's profile.
https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Behaviours-script-to-check-user-s-role-membership/qaq-p/384439 did help a lot more.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.
Read the story
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.