How to select and hide the selected custom fields in jira for a specific user group.

Shivya2708 April 21, 2021

Hi 

I am learning Jira plugin development. I want to select some custom fields and hide/unhide them for a certain user group. How can I achieve that?

1 answer

1 accepted

0 votes
Answer accepted
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 22, 2021

Hi @Shivya2708 You can do achieve this using Behavior functionality of Script runner plugin.

 

https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html#_example_setting_up_a_hidden_field

Shivya2708 April 22, 2021

Hi @Vikrant Yadav 

By using script runner people with Jira administrator permission will be able to hide those fields, but I want that functionality for the project admin people.

Is it possible for those with Project Admin permissions to choose which fields are hidden for all users of that project?

Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 22, 2021

Hi @Shivya2708 Jira doesn't do field level security. 


https://community.atlassian.com/t5/Jira-questions/JIRA-Is-it-possible-to-hide-fields-from-certain-users/qaq-p/3524

You can do one thing, create two parallel transition and add two different screen for these two transitions. One screen contain field which A group user and second screen for B group users. then add condition in workflow according to group .

Like # people like this

Suggest an answer

Log in or Sign up to answer