Clone only issue in a specified step of WF


I would like to ask you a question. It is possible, to enable make a clone of an issue type, only when the issue is in a step Approved(my own defined step Approved)?

Thank you wery much

3 answers

1 accepted

1 vote
Accepted answer

How to use clone properties for customization shows how to customize the Clone Plus Plugin for JIRA. Specifically, you can condition a clone operation to only show up based on project, issue type, and status.

# When does this action show on UI? Only for project ZCLONE bugs (id = 1) in resolved (id = 5) state
1.condition.ZCLONE.1.5 = true

Multiple conditions can be specified or generics used.

thank you, i used that plugin

Some could use this link - how to get IDs of issue types

Set this script in the annoucement banner, adjust the status string as per your requirement.

<script type='text/javascript'>
AJS.$(document).ready(function() {
    var status = AJS.$("#status-val").find('img').eq(0).attr("alt");
    if(status != 0 && status != "Open") {

I would sugest to disable Clone operation using permission scheme and provide Clone workflow action using built-in postfunction in Script Runner plugin. This Clone action would be available only in given state.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

50 views 4 0
View post

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