How can we disable cloning for all users at the project or workflow level?
Hey Mathew, Hope you are doing well!
Unfortunately, that is not possible at this time, but you may try the workaround below.
Use the property jira.permission.createclone.denied in each status of the workflow and set the value to true, it should work.
There is a suggestion to add this feature, although it is quite old (from 2005). You may vote for it or watch it to see any progress. https://jira.atlassian.com/browse/JRACLOUD-8497 It does note an elaborate work-around by changing workflow, and that obviously does not scale well for an entire site with lots of Jira projects.
Hey Manoj! Hope you're doing well too!!
I tried jira.permission.createissue.denied as recommended in JRASERVER-72517 and jira.permission.createclone.denied as you noted from JRACLOUD-8497. Unfortunately neither prevented me from cloning a request in the issue type. Though I tried this on the transition rather than the status, so maybe that's the issue.
I was able to put a JMWE validator on the create transition that appears to succesfully block cloning. Unfortunately it doesn't remove the clone option, but it does prevent the cloned ticket from being created.
issue.links.filter(link => link.type.name == "Cloners" && link.direction == "outward").length > 0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.