Script Runner - Show/Hide fields based on group permission

Sravya Vuggina May 15, 2018

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? 

1 answer

1 accepted

0 votes
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 15, 2018
Sravya Vuggina May 15, 2018

Thanks for the reference! It worked.

Martin Hohenberg June 15, 2020

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.

Like # people like this
SS January 6, 2022

Has anyone managed to get around this for Cloud Version? Behaviour Tab is not visible

Suggest an answer

Log in or Sign up to answer