Since the last upgrade where we changed the issue creation UI, even though the script is present, it doesn't display the content.
Is there a way that we can get this function to work again?
I am not sure if it now shows an unrendered HTML script, but I suppose that is the case. In the beginning of July 2012, we introduced some changes to the JIRA field markup, which does not allow HTML scripts due to security concerns. More information about this in the release summary - https://confluence.atlassian.com/display/AOD/July+2012#July2012-FieldmarkupchangesinJIRAOnDemand.
Hope that answers your question.
I'm talking about the issue description field. Does the change mentioned above apply there as well? What are my options now? I need this text to be there as this acted as a guideline to the QA while filing bugs.
The content was like the following -
if ((document.getElementById('issue-create-issue-type').innerHTML == 'Bug') && (document.getElementById("description").value == ""))
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot