jira is throwing java script on "create" issue page when opened in new tab/window

Paresh Gandhi
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.
December 15, 2014

 

 jira is throwing java script on "create" issue page when opened in new tab/window

error attached

6 answers

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 16, 2014

Hmm, ok, well, first, go over every field that should appear on that create screen and check if there is any javascript in the descriptions.  If there is, remove it.  Then retry.

Paresh Gandhi
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.
December 16, 2014

there is not java script in any of the description of those fields...is there any other way to find it...

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 16, 2014

Ok, Could you take a look at the "system information" page - is there anything listed in the section "modified files"? can you try disabling all the user installed plugins next - if it goes away, you can then re-enable them one by one until it reoccurs - that should identify the plugin to concentrate on (if it is a plugin) I'm afraid the next step is complex debugging - you need to know where it is coming from to track it back to the fault - I'd reach for firebug here.

0 votes
Pareshkumar Gandhi December 16, 2014

i have atatched screenshot below

0 votes
Pareshkumar Gandhi December 16, 2014

1.jpg

0 votes
Pareshkumar Gandhi December 16, 2014

there is no error as such however above text is displayed at the bottom of the page if i open create issue screen in new window

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 15, 2014

What is the actual error?

0 votes
Paresh Gandhi
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.
December 15, 2014

[id='customfield_" + aggregatedCF[index].value[index2].id + "']").hasClass('select2-offscreen')){ //remove validation message for select2 jQuery("[id='customfield_" + aggregatedCF[index].value[index2].id + "']").siblings('label').parents(".field-group").children("div#customfieldRequiredDiv").remove(); if(aggregatedCF[index].value[index2].required) { jQuery("[id='customfield_" + aggregatedCF[index].value[index2].id + "']").siblings('label').append(requiredString); } }else{ jQuery("label[for='customfield_" + aggregatedCF[index].value[index2].id + "']").parents(".field-group").children("div#customfieldRequiredDiv").remove(); if(aggregatedCF[index].value[index2].required) { jQuery("label[for='customfield_" + aggregatedCF[index].value[index2].id +"']").append(requiredString); } } } }else if(jQuery("input[name='customfield_" + aggregatedCF[index].value[index2].id + "'][type='checkbox']").length > 0) { value = (jQuery("input[name='customfield_" + aggregatedCF[index].value[index2].id + "'][type='checkbox']:checked").length > 0); isValid = isValid && value; // isolated, experimental support for checkboxes if(value == false){ jQuery(dsGetLabelForCheckbox(aggregatedCF[index].value[index2].id,'checkbox')).parents(".group").children("div#customfieldRequiredDiv").remove(); var fieldName = jQuery(dsGetLabelForCheckbox(aggregatedCF[index].value[index2].id,'checkbox')).find("span:not(.icon-required)").text(); var emptyWarning = aggregatedCF[index].value[index2].emptyWarning; if (!emptyWarning) { emptyWarning = "This field is required."; } jQuery(dsGetLabelForCheckbox(aggregatedCF[index].value[index2].id,'checkbox')).parents(".group").append(' ' + emptyWarning + '

Suggest an answer

Log in or Sign up to answer