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
outdated
You can even restrict this using workflow permissions.
Please refer https://confluence.atlassian.com/display/JIRA/Workflow+Properties or http://www.j-tricks.com/1/post/2011/02/permissions-based-on-workflow-status.html
Thanks, Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no this can't be done with workflow properties cause this operation is not based on issue linking.
see response from atlassian support
Clone issue in JIRA is not based on the permission to issue linking. There is a workaround that mentioned in this link to remove/restrict the Clone button for specific user or specific screen in JIRA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no problem... :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Got it. I mis understood.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Recommended Learning For You
Level up your skills with Atlassian learning
Jira Align Program Essentials
Learn how to use Jira Align at the program level and how to plan for and manage your Program Increment (PI).
Managing Agile Boards and Reports
Learn how to pick the right board type for your team and customize it to fit your specific requirements.
Atlassian Certified Associate
Jira Software Board Configuration
Earn an associate-level credential from Atlassian that shows you can effectively configure Jira Software boards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.