If your trying to restrict view access for some members in your team, this can be done with the help of "behavior script using Script Runner". This code will look for the restricted group field, and the user in the group can only view. With the help of Script Runner plugin this can be achieved.
// Get pointers to the custom field(s) required
def cf = getFieldByName("Demo Text Field")
// Get the current logged in user
def user = ComponentAccessor.getJiraAuthenticationContext().getUser().name
// Get a pointer to the resticted fields group
UserUtil userUtil = ComponentAccessor.getUserUtil()
def group = userUtil.getGroupObject("restricted-fields")
// By default hide the field(s) from all users
// If the user is in the restricted groups field then show the field(s)
If you are trying to restrict view access for certain status of the issue, this can be done with the help of "workflow condition".
Add the required users to a group and provide a condition.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event