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 system or plugin UI element Edited

Hi, I know that it is possible to hide information like in screenshot 1. However, I would like to hide the elements marked in screenshot 2 for a specific project. Does anyone know how to do it?

Screen1screen1.PNG

Screen2

Screen2.PNG

1 answer

0 votes
JimmyVanAU Community Leader Apr 12, 2021

Hi Pawel,

On the first screen, where you've typed "true" in the condition, you'll need to use the snippet that allows you to specify specific projects.

From https://scriptrunner.adaptavist.com/6.20.0/jira/fragments/HideUIElement.html you'll want to use snippet

(jiraHelper.project?.key in ["AAA","ABC"])

Make sure you test in a non-production environment first.

Cheers, Jimmy

@JimmyVanAU Thank you for the information. 

Hi @JimmyVanAU , I followed what you wrote, but the code that specifies a specific project doesn't work. It turns me off in every project. Are you able to help?

JimmyVanAU Community Leader Apr 13, 2021

Hi Pawel, can you share your code?

I'm assuming you specified the project key for which you want to hide the panels instead of AAA and ABC.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

1,102 views 32 33
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