Is it possible to display custom field based on user group. i see one plugin for field security but it is commercial.
Please also tell me if i can control custom field display in the workflow CONDITIONS.
Thanks in advance
No, Jira does not do field level security. See https://jira.atlassian.com/browse/jra-1330
I suspect the plugin you've found is the one that adds it (I have not used it much myself, but at a glance, it does seem to work well - the obvious traps like working in excel, the issue-navigator and so on seemed to be caught)
As for Conditions, I don't think you've understood what they're for. They stop people from performing actions. They have nothing to do with fields or the display.
THanks for the reply.
Every time i create custom field do i have to create newfiled-view.vm & newfiled-edit.vm files?
I am thinking we need these files if i have to control this filed functinality, let me know if this is correct.
Thnaks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Um, in what context? Your own plugin? One you've found?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want to control(hide/show) one custom field in the edit issue screen based on user group. do i have to create newfiled-view.vm & newfiled-edit.vm files under WEB-INF/classes/templates/jira/issue/field/ and make changes to newfiled-edit.vm code?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Again, in what context?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Argh. Although that is a slight improvement, because we can now guess that you might be trying to stick random files into the core of Jira without really knowing what you're doing.
You have a set of options here
Write a plugin that provides a field that implements the security you want
Hack the existing core files to insert things like "if field is type X and called Y and I'm in project Z, then hide it from users matching a pattern"
Add new files (which is what you seem to be trying) and then hack the core code in Jira to tell it when to use them. I would admit to being out of my depth here - I think it's possible, I am pretty sure that if it is, you need to find and amend a whole swathe of files to point at your new templates, but I really don't know where to look next. I'd really not recommend trying to do it this way though, it's a lot of work - plugins are a LOT more simplg.
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.