Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

condition to hide an UI element


I am trying to hide a UI from our board u could see below. I am trying to remove add users to role and edit defaults. 

We have the script runner I have found out which element to hide but it's not accepting any of the conditions.

Can anyone help me regarding the condition in hiding this element?


1 answer

Hi Aswin,

You'll need to see if Atlassian allows this to be hidden. You can enable the fragment locator on the script fragments page and see if that button has an associated section. If it doesn't show any section name then it cannot be hidden. If it does you can use Hide UI Element in ScriptRunner.



Adaptavist Product Support  

Hi Katy. 

We did try by enabling the fragment locator, it seems it doesn't have a separate section. It comes as a Header section -secondary.

So from your answer, I am confirming that it cannot be hidden. Will pass it on to the Team

Many Thanks for the response.


Suggest an answer

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

Improving the Create Issue Experience in Jira Service Management Cloud

Hello everyone!  We are very excited to announce some much needed changes to the issue create experience in JSM (the blue "create" button) at the top of the screen.  We have just starte...

192 views 7 6
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