Hi,
For one of our clients we have a use case where we want to hide some UI elements in Jira for some projects and some specific groups using ScriptRunner:
#datesmodule
#peoplemodule
#activitymodule
sidebar-navigation-panel
Not sure how that can be done using the Hide UI Element Built-In Script. Ideas anyone? Thanks!
Hi @Berry Kersten ,
You can try using
com.atlassian.jira.jira-view-issue-plugin:datesmodule
com.atlassian.jira.jira-view-issue-plugin:peoplemodule
Hi @Berry Kersten ,
You can use script fragments to hide UI elements.
https://scriptrunner.adaptavist.com/6.6.0/jira/fragments/HideUIElement.html
Go to Admin → Script Fragments, and select Hide system or plugin UI element and select the project and UI elements that you would like to hide.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Niranjan great, thanks! Found it :-)
One more question, I don't see script fragments for the People and Dates panel.
Is it possible to add them manually that you know of?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Berry,
Did you find a solution for your request ? I would like to do the same ...
Thanks.
Catherine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Catherine,
Yes, that's:
com.atlassian.jira.jira-view-issue-plugin:datesmodule
com.atlassian.jira.jira-view-issue-plugin:peoplemodule
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Berry,
Thanks a lot for your reply.
I tried exactly the same on a preProd instance. Then stop/start Jira. It doesn't work. Reboot the server, and it is the same.
We use Jira Server V8.5.5.
Do you think it is a problem ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not a Groovy guru, but in the condition, can you try != instead of == ?
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.