Clone++ does not work for specific issues in a project

Thomas Hardin July 31, 2018

We are experiencing issues with using the Clone++ option where users will try to clone issues and simply get hung on the screen. What's odd is that this only occurs with specific issues in one project. Example...If a user has an epic and wants to clone it into a bug, it doesn't work. But, if the user wants to clone the Bug into and epic, it does. Additionally, if the user wants to clone an epic into another issue type, it works. 

We did some research and gathered the Slack Trace for each scenario.

Good clone - 

batch.js?locale=en-US:232 AJS's create element functionality has been deprecated since 5.9.0.
No alternative will be provided.
Use document.createElement() or jQuery.parseHTML(), or preferably use a templating library.
a.default @ batch.js?locale=en-US:232
a @ batch.js?locale=en-US:494
_show @ batch.js?locale=en-US:3303
show @ batch.js?locale=en-US:3303
(anonymous) @ batch.js?locale=en-US:3855
dispatch @ batch.js?locale=en-US:104
h @ batch.js?locale=en-US:96
batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:3880 [object Object] dialogReady
batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:7373 [SR Behaviours] Behaviours not applicable to the current form / screen
batch.js?locale=en-US:430 Clicking on the Next Button..:11725
batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:3880 [object Object] dialogReady
batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:7373 [SR Behaviours] New content added, clearing outstanding errors...
batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:7373 [SR Behaviours] Adding listeners ...: data null firstRun true
batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:7373 

 

Bad clone - Screen will go gray. Console shows the following javascript error:

[object Object] dialogReady
batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:7373 [SR Behaviours] Behaviours not applicable to the current form / screen
batch.js?locale=en-US:430 Issuetype change..Issuetype selected:1
batch.js?locale=en-US:430 Clicking on the Next Button..:1
VM717:2 Uncaught SyntaxError: Invalid or unexpected token
at eval (<anonymous>)
at batch.js?locale=en-US:53
at Function.globalEval (batch.js?locale=en-US:53)
at HTMLScriptElement.<anonymous> (batch.js?locale=en-US:165)
at Function.each (batch.js?locale=en-US:54)
at init.domManip (batch.js?locale=en-US:164)
at init.append (batch.js?locale=en-US:159)
at init.a.fn.(anonymous function) (https://jira.mckesson.com:8443/s/0f25fe19def98924f64550ac3436c065-CDN/-akj20g/73014/24d20da9485cb0e59b304a070468c81c/92c90e8f67a98078fc0c0bd4895f2b83/_/download/contextbatch/js/jira.browse.project,jira.view.issue,atl.general,jira.general,jira.global,project.issue.navigator,atl.global,-_super/batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational...)
at init.a.fn.(anonymous function) [as append](https://jira.mckesson.com:8443/s/0f25fe19def98924f64550ac3436c065-CDN/-akj20g/73014/24d20da9485cb0e59b304a070468c81c/92c90e8f67a98078fc0c0bd4895f2b83/_/download/contextbatch/js/jira.browse.project,jira.view.issue,atl.general,jira.general,jira.global,project.issue.navigator,atl.global,-_super/batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational...)
at init.<anonymous> (batch.js?locale=en-US:162)
(anonymous) @ batch.js?locale=en-US:53
globalEval @ batch.js?locale=en-US:53
(anonymous) @ batch.js?locale=en-US:165
each @ batch.js?locale=en-US:54
domManip @ batch.js?locale=en-US:164
append @ batch.js?locale=en-US:159
a.fn.(anonymous function) @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:6156
a.fn.(anonymous function) @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:6550
(anonymous) @ batch.js?locale=en-US:162
access @ batch.js?locale=en-US:57
html @ batch.js?locale=en-US:161
i.fn.html @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:5676
a.fn.(anonymous function) @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:6156
a.fn.(anonymous function) @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:6550
_setContent @ batch.js?locale=en-US:3303
_setContent @ batch.js?locale=en-US:3472
(anonymous) @ batch.js?locale=en-US:1209
setSubmitResponseContent @ batch.js?locale=en-US:3472
_handleServerSuccess @ batch.js?locale=en-US:3472
complete @ batch.js?locale=en-US:3472
completeHandler @ batch.js?locale=en-US:1200
j @ batch.js?locale=en-US:60
fireWith @ batch.js?locale=en-US:61
d @ batch.js?locale=en-US:186
b @ batch.js?locale=en-US:198
XMLHttpRequest.send (async)
XMLHttpRequest.send @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:6035
send @ batch.js?locale=en-US:197
ajax @ batch.js?locale=en-US:191
SmartAjax.makeRequest @ batch.js?locale=en-US:1200
_submitForm @ batch.js?locale=en-US:3472
(anonymous) @ batch.js?locale=en-US:3472
dispatch @ batch.js?locale=en-US:104
h @ batch.js?locale=en-US:96
trigger @ batch.js?locale=en-US:101
(anonymous) @ batch.js?locale=en-US:117
each @ batch.js?locale=en-US:54
each @ batch.js?locale=en-US:47
trigger @ batch.js?locale=en-US:117
c.fn.(anonymous function) @ batch.js?locale=en-US:118
(anonymous) @ batch.js?agile_global_admin_condition=true&is-server-instance=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:6988
dispatch @ batch.js?locale=en-US:104
h @ batch.js?locale=en-US:96

 

Any help is greatly appreciated.

1 answer

0 votes
Deleted user August 6, 2018

Hi @Thomas Hardin,

 

We need some more information like the DEBUG logs, the version of the add-on and version of your JIRA System, also the clone plus properties file. Please create a support request from this link with the above requested details as it will be helpful to troubleshoot the issue further.

 

Regards,

Vijay Ramamurthy

Thomas Hardin August 6, 2018

 I have submitted SUPPORT-1218.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events