Any plugins available for bulk cloning of issues?

Other than BulkClone plugin, are there any other plugins available in the marketplace for bulkcloning issues?

2 answers

1 accepted

What are the maximum number of issues that can be cloned using cloneIssues action at a time?

I assume cloneIssues method clones the Issues within the same project which is exactly the feature I am looking now. The project contains nearly 3000 issues so i executed the below command to clone the issues but i got SAXParseException.

c:\Srinivas\JCLI\jira-cli-2.7.0-SNAPSHOT>jira --action cloneIssues --search "project = 'IPE-XXXXXXXX'"

Remote error: ; nested exception is:

org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.

c:\Srinivas\JCLI\jira-cli-2.7.0-SNAPSHOT>jira --action cloneIssue --issue "IPE-3031"

Remote error: Error creating issue: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][id,8168348][stringvalue,][issue,819130][parentkey,null][customfield,10140] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (ORA-01654: unable to extend index JMETER525.IDX$$_15220002 by 1024 in tablespace JIRA_DATA))

  1. The SAXParseException is normally caused by an issue having bad data that prevents proper access via remote SOAP apis. The bad data needs to be removed from the issue - see the discussion on JCLI-392 for instance
  2. The second error looks like a JIRA database size issue

After resolving the db size issue, I tried again but I got the below message. Does JCLI requires clone-plus plugin require to install?

c:\Srinivas\JCLI\jira-cli-2.7.0-SNAPSHOT>jira --action cloneIssues --search "project='DUCK-Black Duck'"

java.rmi.RemoteException: This operation requires the Clone-plus plugin be installed on the JIRA server. Remove project and type parameters to use the regular clone operation.

Clone of issue DUCK-1 failed.

Remote error: 1 issues failed to be cloned. 0 issues cloned.1

Clone-plus plugin is required if you use parameters that are not part of the JIRA provided clone operation. For instance, the JIRA clone operations does not allow you to change the project key or to change the issue type. That applies to cloning a single issue with cloneIssue.

On further investigation, it looks like cloneIssues is using clone plus in a case where the regular clone operation would be sufficient - namely copying issues to the same project. I will have to fix that. Is that what you were trying to do? That is a relatively unusual use case for cloneIssues.

I am trying to copy issues to the same project. Just trying to duplicate the existing issues of the project.

Fixed issue JCLI-393 regarding needing clone plus for copying to same project.

1 votes

Structure plugin can bulk-clone issues, as a part of the "copy structure" feature -

It can clone the issues within the same project or into another project. The idea behind it is that you might have a template structure (hierarchical list) of issues and clone it to create repetitive task lists of any complexity. Cloning is a long process, so it runs in background and can take some time, but eventually Structure can clone any feasible number of issues.

You can try it out on


Disclosure: I work for the company behind Structure

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,006 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot