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

 

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

error attached

6 answers

[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 + '

0 vote

What is the actual error?

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

i have atatched screenshot below

0 vote

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.

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

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.

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,323 views 14 20
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