Hi All,
I have few questions about JIRA related to custom field.
1. I want to configure who can view a custom field.
Practically, i need a custom field that visible for internal users and hidden for external users.
Is it possible to do that? And how if that is possible?
2. Is there any permissions setting for issue navigator and export tools?
Related to point 1, i don't want any hidden field can be viewed by external users on issue navigator / export tools.
I really appreciate your helpful answer :)
field level secirity is not possible in jira as of now, check this
https://jira.atlassian.com/browse/JRA-1330
some third party plugin is there, you can try with this
https://marketplace.atlassian.com/plugins/com.quisapps.jira.jfs
or you can implement this by using javascript
check my another answer, i gave javascript to hide field for specific group
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try with this javascript
<script type="text/javascript"> JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e,context) { hideField(); }); hideField(); function hideField(){ var user=getCurrentUserName(); if(isUserInGroup(user,'Developers')){ //to hide the Activity Tab $("#customfield_10571").closest('div.field-group').hide(); }else { AJS.$("#customfield_10571").closest('div.field-group').show(); } } function getCurrentUserName() { var user; AJS.$.ajax({ url: "/rest/gadget/1.0/currentUser", type: 'get', dataType: 'json', async: false, success: function(data) { user = data.username; } }); return user; } function getGroups(user) { var groups; AJS.$.ajax({ url: "/rest/api/2/user?username="+user+"&expand=groups", type: 'get', dataType: 'json', async: false, success: function(data) { groups = data.groups.items; } }); return groups; } function isUserInGroup(user, group){ var groups = getGroups(user); for (i = 0; i < groups.length; i++){ if (groups[i].name == group){ return true; } } return false; } </script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. put this javascript on custom field description in field configuration
2. load it as a webresource module in plugin, check this
3. add it in footer.jsp
i suggest to load javascript as webresource!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
maybe this Q&A be helpful: https://answers.atlassian.com/questions/100553/limit-custom-field-to-users-or-groups
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1# you check this link and see Nic's comment.
2# you can set the permissions to users/roles/groups on PermissionScheme->Browse Project
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. But for 2# i mean i want to limit groups who can export & configure column on issue navigator, not limitation for browsing project. Any solution for this one?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.