Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom field displayed only for specific group

Dev
Contributor
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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
Contributor
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-
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

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
Product Admin
TAGS
AUG Leaders

Atlassian Community Events