I use this script to populate the Description field with my bug format:
<script type="text/javascript">
if (document.getElementById("description").value == "") {
document.getElementById("description").value = "Steps to Reproduce:\n1.\n2.\n3.\n...\n\nObserved:\n\nExpected:";
}
</script>
It works great. Now I want to populate one of my custom fields with some text and I tried using this script and it didn't work. I tried putting it in the description in the Custom Field itself and in a field configuration (where I really need it to be) but nothing so far has worked.
Does anyone know what I'm doing wrong?
JIRA 4.4
Thanks,
Kathy