| Name | Clone and Move Plugin |
|---|---|
| Version | 1.2.4 |
| Product Versions | 3.5.x - 3.12.x |
| Author(s) | Mei Yan Chan |
| Homepage | |
| Price | Free |
| License | |
| JavaDocs | |
| IssueTracking | |
| Download JAR | atlassian-jira-clone-and-move-1.2.4.zip |
| Download Source | atlassian-jira-clone-and-move-1.2.4-src.zip |
Description/Features
This plugin allows users to straight away clone and move issues without having to go through the issue operation 'Move' again once it is cloned.
Usage
- Place the "atlassian-jira-clone-and-move-1.2.3.jar" into the "atlassian-jira/WEB-INF/lib" directory.
- Copy the content inside "webapp/" to your "atlassian-jira/" directory, to install the files the appropriate directory, i.e.
+ atlassian-jira/ + secure/ + views/ + plugins/ + cloneandmoveissue-start.jsp - Restart JIRA and it should work. Voila!
Version History
| Plugin Version | JIRA Version | Comments |
|---|---|---|
| 1.2.4 | 3.12.x | Tested with JIRA 3.10 onwards |
| 1.2.3 | 3.10 | Tested with JIRA 3.9 and 3.10 |
| 1.2.2 | 3.6.x | Added wordings to display that this plugin is compatible with JIRA 3.8 |
| 1.2.1 | 3.6.x | Fixed *.jar file name back to atlassian-jira-clone-and-move-*.jar and fixed redirect URLs (the old redirections were working though) |
| 1.2 | 3.6.x | Fixed redirection bug (NPE) that happened after cloning subtask. |
| 1.1 | 3.6.x | atlassian-plugin.xml: The "clone.and.move.issue.operation" issue operation module is now enabled by default. |
TODOs/Improvements
Some possible improvements:
- Issue operation to appear only if the user has the right permission

Comments (51)
Sep 26, 2006
Neal Applebaum says:
Hi Mei, Thanks for providing this. A few notes: 1) The operation did not appear ...Hi Mei,
Thanks for providing this. A few notes:
1) The operation did not appear after following your instructions. When I visited the Plugins admin page I saw that "Clone and Move Issue Operation Module" was disabled. Once I enabled it, it appeared. What is "Clone and Move Issue Webwork Module (clone.and.move.webwork)" for?
2) Is there any way to incorporate this as a workflow post function?
3) Is it possible to restrict this operation so that it only shows up for people with "Move" permission?
Sep 27, 2006
Mei Yan Chan says:
Hi Neal, The operation did not appear after following your instructions. When ...Hi Neal,
The webwork module represents the front end as well as the actions that will be executed. Regarding the disabled module, I've already uploaded an 'abled' module.
This is possible by writing your own workflow post function. Try posting your question in the jira-developer mailing list.
This can't be supported at the moment as the view of the issue-operation module is not written in velocity. Hopefully this feature can be implemented in the next release
. Thanks for your idea.
Regards,
Mei
Oct 03, 2006
Mei Yan Chan says:
I've been thinking it through with the implementation of this plugin as a workfl...I've been thinking it through with the implementation of this plugin as a workflow post function as discussed in the forum.
This implementation is not possible as an IllegalStateException will be thrown while the SimpleWorkflowAction tries to bring the user back to the issue page as the response is being committed more than once (first by the post function, then by JIRA's SimpleWorkflowAction)
Sorry for the misleading information that was given above.
Regards,
Mei
Dec 29, 2006
Ulrich David says:
Hi Neal, 3) Is it possible to restrict this operation so that it only shows u...Hi Neal,
I disabled the Clone and Move Issue Operation Module and inserted the following to the operations.jsp (in atlassian-jira/includes/panels/issue/) in parallel to the 'normal' move only for non subtasks (I won't use it for subtask and have not tested it.)
The first disables the action link from the plugin, the second creates a Clone and Move link just beneath the Move link, if moving is allowed.
Regards,
Uli
Jan 03, 2007
Neal Applebaum says:
Thanks, Uli. I got it to work in my test installation using your code.Thanks, Uli.
I got it to work in my test installation using your code.
Jan 03, 2007
Yuen-Chi Lian says:
That's a nice way of workaround. Thanks for sharing. Cheers, YuenChi LianThat's a nice way of workaround. Thanks for sharing.
Cheers,
Yuen-Chi Lian
May 22, 2007
Bettina Zucker says:
Not only "Move" is a permission, also "Clone", or better, "Link". The whole ope...Not only "Move" is a permission, also "Clone", or better, "Link".
The whole operation "Clone and Move" should be only accessible to users holding both permissions, the Link permission and the Move permission.
Cheers
Betina Zucker
Sep 27, 2006
Neal Applebaum says:
Mei just to let you know.. this plugin did not work on my live installation. On ...Mei - just to let you know.. this plug-in did not work on my live installation. On my test installation (standalone), after pressing the link, I get a screen (CloneAndMoveIssueDetails.jspa) with this text:
whereas on my live installation (using Weblogic), I get a screen like this:
Select to clone issue's links
.. with no way to enter the summary of the issue. There's no error (or any activity) in the logs.
The view source from standalone looks like this:
<tr class="fieldArea" id="summaryFieldArea">
<td class="fieldLabelArea" >
<label for="summary">
<span class="required" title="Fields in italics are required"><sup>*</sup>
Summary:
</span>
</label>
</td>
<td class="fieldValueArea">
<input type="text"
name="summary" id="summary" class="textfield"
value="CLONE -kjklj"
maxlength="255">
</td>
</tr>
The view source from live (Weblogic) looks like this:
<tr
>
<td class="fieldLabelArea">
Clone Links:
</td>
<td bgcolor="ffffff" class="fieldValueArea">
<input type="checkbox"
name="cloneLinks"
value="true"
/>
Same code in both places.
Oct 03, 2006
Mei Yan Chan says:
Hi Neal, This seems more like a Weblogic problem as the {{jsp}} that I am using...Hi Neal,
This seems more like a Weblogic problem as the jsp that I am using is similar to the cloneissue-start.jsp.
I am not too sure of the problem you are facing. Please give the newly uploaded files a try and see if the problem still exists. Otherwise, you may want to take a look at the source codes.
Do you have any problems in using the original clone issue function?
Regards,
Mei
Sep 29, 2006
Bettina Zucker says:
Hello Mei, I tried out your plugin and noticed that it only works for standard i...Hello Mei,
I tried out your plugin and noticed that it only works for standard issue types, but not for sub-tasks.
Since it is possible to import standard issues to Jira by CVS import but it is not possible to import sub-tasks, the clone-and-move approach is very valuable to quickly create sub-tasks, especially if a bunch of issues all have similar sub-tasks.
I'll try to better explain the use case.
Let me say, I have a big bunch of issues to create, all with the same kinds of subtasks. Then my strategy would be to create the parent issues in Excel by easy cut-n-paste, import them with the cvs importer, then create the first sub-task for one of the issues and finally multiply it by clone-and-move.
In this scenario the clone-and-move plugin is especially useful for sub-task, more than for standard issues.
So please consider extending the appoach to sub-tasks, if you have the opportunity to do so!
Best regards
Bettina Zucker
Oct 03, 2006
Mei Yan Chan says:
Hi Bettina, I've uploaded the latest version of the plugin that allows the clon...Hi Bettina,
I've uploaded the latest version of the plugin that allows the clone and move of issues as well as subtasks. Thanks for the report, well appreciated.
Regards,
Mei
Oct 10, 2006
Bettina Zucker says:
Thank you\! I just tried it out and it works very well on my test jira system (s...Thank you!
I just tried it out and it works very well on my test jira system (standalone enterprise 3.6.2), so
I'll install it on the production system now.
Cheers
Bettina Zucker
Sep 29, 2006
Neal Applebaum says:
Has anyone actually gotten this plugin to work?Has anyone actually gotten this plug-in to work?
Oct 10, 2006
Bettina Zucker says:
Yes, for me it works (see above).Yes, for me it works (see above).
Oct 05, 2006
Neal Applebaum says:
Mei I can no longer get this plugin to work, even on standalone. Are you sure th...Mei - I can no longer get this plug-in to work, even on standalone. Are you sure the instructions are accurate? First off, the name of the jar file doesn't match your doc'n. Either way, I get an error when clicking it. It's long, so I'll attach it. I will not install on live Weblogic until it works in test.
Oct 08, 2006
Yuen-Chi Lian says:
Hi Neal, I have tested it on JIRA 3.5.\3.6.\ (std/pro/ent) and they all worked ...Hi Neal,
I have tested it on JIRA 3.5.*~3.6.* (std/pro/ent) and they all worked fine. FYI,
Please refer to the source code to see how it actually works (given that you have the understanding). Unless the original Clone Issue and Move Issue features are broken in your JIRA, otherwise, I can't figure out why this plugin fails on your instance.
Perhaps you can try to describe at which step it fails and please also make sure that everything is properly configured.
Regards,
Yuen-Chi
Oct 09, 2006
Neal Applebaum says:
I don't know what to tell you. I installed the latest version, and after pressin...I don't know what to tell you. I installed the latest version, and after pressing the link, I get an error:
URL: .../secure/CloneAndMoveIssueDetails!default.jspa?id=13830
HTTP Status 404 - Could not execute action [CloneAndMoveIssueDetails!default]:Action 'CloneAndMoveIssueDetails' not found or could not be initialized: java.lang.ClassNotFoundException: CloneAndMoveIssueDetails<p><small><small><pre>java.lang.IllegalArgumentException: Action 'CloneAndMoveIssueDetails' not found or could not be initialized: java.lang.ClassNotFoundException: CloneAndMoveIssueDetails at webwork.action.factory.JavaActionFactory.getActionImpl(JavaActionFactory.java:64) ...
I'm simply using a standalone version of 3.6.3 and 3.6.5. It fails the same way in each. I tried 4 different configurations. They all failed.
Oct 10, 2006
Neal Applebaum says:
Mei I tried your plugin on a brand new database (deleted the database folder), a...Mei - I tried your plug-in on a brand new database (deleted the database folder), and it worked fine (on Tomcat/standalone anyway). That eliminated any setup issues on my part. So, then I imported my data into the same instance and the error stopped happening. Very odd. If I have a chance to install on Weblogic I'll let you know if it works or not.
Oct 10, 2006
Neal Applebaum says:
:( OOPS I spoke too soon. As soon as I restarted JIRA, I got that same error aga...Jan 03, 2007
Neal Applebaum says:
YuenChi, I finally did get this to work. The problem has to do with the timing ...Yuen-Chi,
I finally did get this to work. The problem has to do with the timing of starting JIRA with the .jar file and enabling/disabling the 2 modules.b If I simply follow your instructions, it fails every time, but if I play around with disabling the modules, then restarting JIRA again and then enabling them (and maybe restarting one more time), it starts working. I'm really not sure of the order that works or fails, but eventually I can get it working.
Oct 05, 2006
Neal Applebaum says:
By the way one main reason to use this would be to avoid the "Issue Created" eve...By the way - one main reason to use this would be to avoid the "Issue Created" event in the original project (since it is destined to be moved as soon as it is created). Does this plug-in prevent that from happening?
Nov 10, 2006
Neal Applebaum says:
I've tried over and over. I've followed the instructions and triple checked ever...I've tried over and over. I've followed the instructions and triple checked everything. This plugin simply doesn't work for me.
Jan 10, 2007
Neal Applebaum says:
OK, something really weird... I managed to install it on production (it took a ...OK, something really weird...
I managed to install it on production (it took a few restarts) and seems to work when I test it.
Except for one issue. All other issues in the project and other projects seem to work just fine. But for this one, the screen that pops up has no field to enter summary of the issue.
If I create a support ticket with data to reproduce would you take a look?
Jan 15, 2007
Neal Applebaum says:
Just as a followup the bug with the summary happens even with regulat Clone issu...Just as a follow-up the bug with the summary happens even with regulat Clone issue, and it looks to be a bug in JIRA.
Feb 21, 2007
Shannon O'Dell says:
Hello, I am writing a plugin that needs the relationship you create between the ...Hello,
I am writing a plugin that needs the relationship you create between the clone and the original issue. I was wondering if you know how to access it through the Jira API. I have tried to use the LinkManager and things of the sort, but I haven't seemed to find something that works.
Thank you!
Shannon O'Dell
Mar 20, 2007
Mei Yan Chan says:
Hi Shannon, Any success with your plugin? Please let me know if you still need ...Hi Shannon,
Any success with your plugin? Please let me know if you still need assistance with some of the Manager components.
Regards,
Mei
Jul 12, 2007
Neal Applebaum says:
Is anyone using this successfully in 3.9, 3.10? The top of page says only suppor...Is anyone using this successfully in 3.9, 3.10? The top of page says only supported to version 3.8
Thanks
Sep 17, 2007
Mei Yan Chan says:
Hi Neal, Apologies for the delay in getting back to you. I've fully tested the ...Hi Neal,
Apologies for the delay in getting back to you. I've fully tested the plugin with the latest version of JIRA and I'm glad to say that it works fine. I've updated the version and apply the necessary changes. If you happen to encounter any problems using it, please let me know. Thanks.
Regards,
Mei
Dec 17, 2007
Tom Miller says:
Did you ever get this to work as part of a work flow?\\ I am also waiting ...Did you ever get this to work as part of a work flow?
I am also waiting 3.11 and 3.12 support too.
If you are interested in using this for Clone / Move for Help Desk, please vote for this issue.
http://jira.atlassian.com/browse/JRA-9564\\
May 22
Mei Yan Chan says:
This plugin is fully tested with v.3.11 and v.3.12.x.This plugin is fully tested with v.3.11 and v.3.12.x.
Oct 09, 2007
Greg Turner says:
Is it just me, or is the downloadable zip corrupt? When I tried to open&nb...Is it just me, or is the downloadable zip corrupt? When I tried to open either of the zips, WinXP complains that they are corrupt. Not having any problems with other plugins.
Thanks,
Greg
Oct 09, 2007
Greg Turner says:
Check that \\ I just tried this with FireFox and it worked. Weird. D...Check that -- I just tried this with FireFox and it worked. Weird. Doesn't anyone use IE7 here?
May 22
Mei Yan Chan says:
It's fixed now. Do let me know if you still have problems downloading via IE. Th...It's fixed now. Do let me know if you still have problems downloading via IE. Thanks.
Oct 26, 2007
Mārtiņš Osis says:
There seems to be a minor error in the plugins operation with notifications: ess...There seems to be a minor error in the plugins operation with notifications: essentially, when an issue is clone-moved, the notification sends a non-existent issue ID. It's hard to explain so I'll just get to the example:
The new link redirects to the correct issue so it's not a real problem, but a an inconsistency nonetheless.
Oct 26, 2007
Neal Applebaum says:
I wouldn't call that an error. Not even a bug. It is allowing thru the U.I. to ...I wouldn't call that an error. Not even a bug.
It is allowing - thru the U.I. - to combine Clone and Move in one step.
But in reality it IS doing two steps:
1) Clone (to same project)
2) Move cloned issue to new project
That's why it's an add-on/plugin and not native to JIRA. It's a workaround,
and not a solution.
Nov 05, 2007
Abdelkader Boumediene says:
Hi all, Is there a planned version for Jira 3.11 ? I downloaded the latest versi...Hi all,
Is there a planned version for Jira 3.11 ?
I downloaded the latest version 1.2.3 but plugin is not present in Jira.
I am trying to open the file with Winzip but it fails.
Thanks,