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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

708 views 6 13
Read article

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