It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Big problem with JIRA interface

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

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.

Thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Next-gen

Keyboard shortcuts have arrived for next-gen projects!

...ollected feedback from users around the lack of shortcuts, and we’re here to address that: In next-gen projects, I miss the keyboard shortcuts badly. This is particularly true on the Board, but also i...

145 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you