I was trying to add to JIRA some date information for SLA. But unfortunately I put this code in the description field of a custom field and I didn't close the HTML component. Right now everything in the custom field section is hidden. I cannot also delete the custom field. Sombody can help me?
Your timezone. The value is set automatically from your browser, so please only modify if it's incorrect. <br>
<b><a href="<a href="http://www.worldtimezone.com/" rel="nofollow noopener noreferrer">http://www.worldtimezone.com/"</a> target="timezone">World Timezones</a></b>
<script language="JavaScript">
<!--
function setCustomerTimezone()
{
tzlist = document.getElementById("customfield_10421");
if (tzlist) {
if (/CreateIssueDetails.jspa/.test(tzlist.form.action)) {
// Value has not yet been set if (tzlist.value == -1) {
offset = new Date().getTimezoneOffset() / 60; // hours from GMT
if (offset <= 0) { tzlist.value="GMT+"+(-offset); }
else { tzlist.value = "GMT-"+offset; }
// }
}
}
}
window.onload = setCustomerTimezone;
//-->
</script>