Hello,
I am using some Scripted fields to do some automatic calculation. E.g. calculate my margin between an estimate and time tracking.
These fields are only displayed in my View screen in a specific tab called "Metrics". I'd like to hide that tab from a specific group of user.
I created a Behaviour with Scriptrunner and used hideTab(2). The tab is correctly hidden in Edit or transition screens. But not in View screen. Is there a way to do it?
Thank you for your help.
Romain
Hello,
I am afraid, you can not do it. Behaviours do not work on the view issue screen.
Exactly, Behaviors work on only during issue creation or transition. Therefore, @Romain VELON need to find another way. Did you try Permissions? Also, you can write a groovy script which changes the current view's JavaScript. Ofcourse it is pretty hard and not recommended :)
https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html
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.