We have a requirement to hide custom fields from a certain group of JIRA users.
I have read the long discussion on why Atlassian will not implement this as a feature, and I was really hopeful that the Behaviours plugin can do this until we hit bulk editing issues.
I am hoping that someone can help to confirm a few things:
Thank you for your time!
> Is it true that hiding custom fields using Behaviours plugin will disable bulk edit (or bulk move in our case) for all issues across all projects?
No, it will disable inline edit for fields where the behaviour is applied. Inline edit is completely different from bulk edit. Behaviours doesn't work with bulk edit, which is why you need to back up behaviours with validators if security is an issue. Behaviours should be used to "guide" users, rather than enforce.
> I can't seem to find the hiding custom fields feature in Script Runner (which replaces Behaviours plugin), is it true that this feature is not part of Script Runner?
It doesn't replace it, it is merged with it. All the behaviours stuff is in Script Runner.
Behaviours should work with bulk edit if you create fields of type "Hidden Text Field" and so on... but that feature needs a lot of love and I don't really recommend its usage right at the moment.
Sorry I can't really help with alternatives, I have never tested anything else that has this feature, but I just wanted to clear up some of these misconceptions.
Hi Jamie, Thanks for your swift respond and sorry for my misunderstanding regarding the Behaviour plugin being replaced by Script Runner (I get it now that it's more of: "incorporated" rather than "replaced"). Yes we're using the custom field with the type of Hidden Text Field and it is breaking bulk edit for all projects in our installation (even projects that are not associated with the Hidden Text Field). The error message points to java.lang.NullPointerException: Cannot invoke method getValidators() on null object and multiple lines points to the hidden field e.g. : at com.onresolve.jira.behaviours.customfields.AbstractHideableCFType.isHidden(AbstractHideableCFType.groovy:42) I think I will raise an issue at your issue tracker, hopefully you'll have time to look at it and have an idea what went wrong. Thanks!
The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs