My goal is to remove the "Clone" Link from More Actions
i did it by adding this code as a value into a Message Custom Field (for view) wich i assigned to the Screen from the specific project
<script type="text/javascript">
{
cloneMenuItem = document.getElementById('clone-issue');
if (cloneMenuItem)
{ cloneMenuItem.parentNode.style.display = 'none'; }
}
</script>
works nice...now i want to extend this by adding a condition that restricts clone-issue only to users in projectrole i.e. Developers (id 10001) of a project.
how to get it in that code?
Thanks for any suggestions