Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Block clone option on specific projects

Lakshmi CH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 27, 2022

Hi Team,

 Are we able to block cloning on specific projects and for specific users (roles) ? For example I'd love to block cloning for everyone outside of my team.

Please find the attached screenshot for your reference.

We have JSU, Scriptrunner and JMWE

clone.PNG

Thanks!

Lakshmi

1 answer

1 vote
Andrea Pannitti
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 27, 2022

Hi @Lakshmi CH ,

This question is very similar to the question reported on https://jira.atlassian.com/browse/JRASERVER-38117 and, like suggested by Alex Gallien, it's possible to hide the Clone issue using Scriptrunner Fragments, selecting Hide System Plugin or UI Element and under Hide what, add:

com.atlassian.jira.plugin.system.issueoperations:clone-issue

Then, set your condition such that it returns true for all issues you want it to display on still (this is a bit counterintuitive).
If you wanted to hide assign for project ABC, it would be:

jiraHelper.project?.key != "ABC"

 

Suggest an answer

Log in or Sign up to answer