Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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

ScriptRunner fragment "hide system or plugin UI element" doesn't hide UI elements

I'm new to ScriptRunner (v8.1.0) for Jira and I would like to hide the "Create linked issue" entry on the More menu.

I have a script fragment "Hide system or plugin UI element" and selected com.atlassian.jira.jira-quick-edit-plugin:create-linked-issue-item as the item to hide. When I click the Preview button, the result shows "not implemented".

There is no additional information displayed and after saving the fragment, there is no change in the display of the More menu.

I have tried hiding different UI elements and adding a condition to limit the script to a single project, neither of which have made a difference.

The latest documentation indicates that this functionality is available (Adaptavist doco).

I'm not sure whether the preview window is actually a problem, but the inability to hide any field suggests I'm doing something wrong. The screenshot shows exactly what I have; any suggestions?




1 answer

1 accepted

0 votes
Answer accepted

Right, not sure why my googling didn't show this earlier, but the condition needs to return false. That's it!

Thanks to this previous question.

The hint is in the note below: "the item will be displayed if the code returns a truthy object".

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events