Custom field displayed only for specific group

Dev March 3, 2021

Hi there,

Is there a possibility to hide/display some specific custom fields to specific group in jira cloud?

2 answers

0 votes
Mihkel Kagovere December 19, 2022

You could create a web panel via scriptrunner and set a display condition

 

{code}

/**/


def user = ComponentAccessor.jiraAuthenticationContext.getLoggedInUser()
def gm = ComponentAccessor.getGroupManager()

//you could specify to show your web panel in specific projects, in specific issue
//and to specific groups

if (jiraHelper.project.key in ["project"] && !issue.isSubTask()) {
def group = gm.getGroupsForUser(user).each {
if (it.toString().toLowerCase() == 'some-group') {
return it
}
}
}

{code}

0 votes
Danyal Iqbal
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.
March 3, 2021

Nope, it is not possible to do this.

Dev March 3, 2021

So there is no possibility to hide or display a bunch of information (ideally some custom fields or even a separate tab)  in an issue?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 3, 2021

No, nothing, collaboration software is for sharing, not hiding things from others you want to to work with.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events