Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hide UI elements

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!

2 answers

1 accepted

0 votes
Answer accepted

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.

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?

Schermafbeelding 2020-09-16 om 09.12.36.png

Hi Berry,
Did you find a solution for your request ? I would like to do the same ...
Thanks.
Catherine

Hi Catherine,

Yes, that's:

com.atlassian.jira.jira-view-issue-plugin:datesmodule

com.atlassian.jira.jira-view-issue-plugin:peoplemodule

 

Schermafbeelding 2021-01-21 om 11.54.20.png

Like eli_cohen likes this

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.

Script fragment.png

Do you think it is a problem ?

I'm not a Groovy guru, but in the condition, can you try !=  instead of == ?

Is there also a way to disable the issue export button can't find the element on the fragment 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

41 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you