Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Scriptrunner - Hide system or plugin UI element

Alexander Raymukanov
Contributor
January 28, 2021

I try to use scriptrunner to hide elements in issue operations menu.

Form is filled so:

2021-01-28 16_25_34-Script Fragments.png

But I still see this menu items, what I do not right?

2021-01-28 16_24_23.png

1 answer

1 accepted

2 votes
Answer accepted
Hana Kučerová
Community Champion
January 28, 2021

Hi @Alexander Raymukanov ,

just try "false" instead of "true" :-).

I made exactly the same mistake, when I used it for the first time. It is a little bit confusing, but there's small note about this: Note that the item will be displayed if the code returns a truthy object.

Alexander Raymukanov
Contributor
January 28, 2021

Thanks a lot @Hana Kučerová 

Helen
Contributor
May 3, 2023

I was banging my head against this issue yesterday, thank you!

Suggest an answer

Log in or Sign up to answer