Hi,
We recently upgraded Jira version to 8.12. Since then, I'm getting below Javascript under one of the custom fields. Could you please assist why see it and how to remove it?
<script type="text/javascript">
var removeCTE = setInterval(function() {
var editableElms = AJS.$('#customfield_10119-val')
if (editableElms.length) {
editableElms.removeClass('inactive');
editableElms.removeClass('editable-field');
editableElms.removeAttr('title');
editableElms.find('span.overlay-icon').hide();
}},200);
</script>
Thanks,
One of the improvements in later versions of Jira is that they no longer render botches like javascript in field descriptions.
To get rid of the text, edit the field description and remove the script.
Hi Vimalraj,
in case you want to remove it (therefore it must be ensured it does not server any purpose anymore) you can remove it by editing the custom field and/or the field configuration.
In case you still need it you would need to adjust the setting again so the code will interpreted again. From a security aspect it would be better to get rid of it.
Let us hear from you if you need details or if you are just going to delete the script.
Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.