You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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?
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".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.