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 votes

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 votes

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,088 views 4 9
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