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 == ""))
Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs