Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Big problem with JIRA interface

MarcoBaldo May 19, 2013
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="http://www.worldtimezone.com/" 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>

2 answers

1 accepted

1 vote
Answer accepted
Nancy Blackwell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2013

We had a similar problem. We had to clean it up in the database and then restart the JIRA instance to get it pick up the change.

0 votes
MarcoBaldo May 19, 2013

Thank you!

Suggest an answer

Log in or Sign up to answer