how to restrict issue cloning per project in jira??

i've already set up permissions to only allow issue linking, which brings "is a cloner of / is cloned by" to developers role

so far so good.

the issue can still be cloned just by selecting "Clone" from the More Actions tab

this is really annoying cause some users here are way too lazy to create a new issue from scratch...they simply clone a resolved one...

8 answers

1 accepted

This widget could not be displayed.

You can't disable just "cloning" by workflow properties because there is no separate permission for cloning. It looks for create permission.

You can't do it on a project by project basis unless you do some coding. i.e. add a condition to the respective web-item in system-issueoperations-plugin.xml.

Or maybe disable the system plugin and define an isue operation in your plugin along with the condition. You can make use of existing classes and jsp files.

hmm well.

so what is the best approach to restrict "Clone" from "More Actions" or can it be removed from there?

nice...i just disabled "View Issue Ops Bar Clone Link"

from system issue operations...

thats enough.

Thanks Jobin

Hi Faysal,

Can you please give detailed steps on to disable View Issue Ops Bar Clone Link

Hi Bob,

Thanks for quick reply. Looks like onDemand we can't disable clone function.

That is an admin function, so only Atlassian can touch that for OnDemand.

Hi Bob,

Can we disable this on local jira instance and without having plugin

Yes, on a download instance, the administrator can disable the shipped clone operation following the instructions.You only need the plugin if you want to replace it with clone operations can be restricted or customized on a project by project basis if that is your need.

Bob, can you please point to instructions

How to use clone properties for customization and there is a specific exampe of configuration for a project specific restriction

This widget could not be displayed.

I have tried this in workflow step's properties -->

jira.permission.create.clone = denied

Its working for me without restricting sub-task creation (took ref from here)

Dhananjay Kale,

I want to deny cloning only in a specific project in jira. Is this possible in this way?

Yes. But need to make sure that workflow is not shared between the projects.

Yes- different workflow!

where should I define this sentence?

(jira.permission.create.clone = denied)

and where should I add the project's name?

where can I find the workflow steps properties?

Edit the workflow, look at the status on the workflow, there is a properties panel

great- found it!

and should I put the "(jira.permission.create.clone = denied)"

in the Property key or in the Value key?

Both.  We use the = as a separator here because it's quicker than a screen shot and just as easy to explain.  The string on the left is the property, the one on the right, the value.

thank you very very much!

I will try it!

This widget could not be displayed.

Yes, DJ it worked for me too.

This widget could not be displayed.

i tried setting some properties per issue state...

such as "jira.permission.clone=false" or "jira.permission.link=false"

no effect...

what am i missing?

This widget could not be displayed.

Sounds like you have an answer for your situation. For others, the Clone Plus Plugin for JIRA has a number of customization options which would allow restricting cloning to specific projects. More over, providing project specific clone options to fit better user needs. More info: How to customize

No need for more expensive addons. Just adding the property jira.permission.create.clone.denied to every status in the workflow seems to do the trick just fine.

 

David Skreiner

I want to deny cloning only in a specific project in jira. Is this possible in this way?

Hello @roniz,

Just add the properties jira.permission.create.clone = denied to the workflow/s of the specific project. Make sure the workflow is not share by other project. It worked for me.

Does this still work ? I've try it on version 7.7, i've put the parameter everywhere on my workflow and it doesn't work ...

 

I've the same workflow as this ticket and the work arround doesn't work ...

https://jira.atlassian.com/browse/JRASERVER-62200

This widget could not be displayed.

This widget could not be displayed.

DJ`s solution working... jira.permission.create.clone = denied

This widget could not be displayed.

We have similar issues with cloning In a couple of projects.  Users clone an issue, but then do not have edit permissions to modify key details.  We have good reasons for not granting edit permissions in those projects and we expect our users to "remember" that they should not clone in those projects.

I understand that clone would not be permitted if we remove the "create issues" permission, but we do want our users to be able to create new issues in those projects.

Would it be possible to make the "clone" action depend on both "create issues" and "edit issues" permissions?  

That would solve most of our problem with regards to cloning.

 

Thank you,

Aaron

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

573 views 25 15
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you