In the Opsbar I want to hide the default "Assign" button as we require a custom workflow transition in order to do this (note- I still need the permission to assign users). I have seen scripts to do this, but every report says they no longer work in v6+ of JIRA.
How might I go about hiding this button so the workflow step is used and not the other?