Hello Support,
on a create issue screen a javaScript is not loading when we change issue type. This following script is added to the field "addiotnal hardware information" for the issue type "generic services":
<script type="text/javascript"> // <![CDATA[ env = document.getElementById('customfield_11400:1'); if (env) { target = document.getElementById('customfield_11403').parentNode; target2 = document.getElementById('customfield_11402').parentNode; if (env.value == 11211) target.style.display='none' && target2.style.display='none'; env.onchange=function() { if (this.value != 11211) { target.style.display = ''; target2.style.display = 'none'; target.value="enter message here"; } else { target.style.display='none'; target2.style.display=''; } } } // ]]></script>The default issue type when we want to create an issue is "service request" and has a different field configuration. When we change the issue type to "generic services" the javascript does not work. I try to put the script in all field configurations but it still not works. We found several other pages where this problem is the same but the version of our jira is 6.0.8. Can you help us? Best regards Toni
This may help you I think,
please check this answer
https://answers.atlassian.com/questions/47843/strange-javascript-problem-in-create-screen
Hope this helps you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think that is the same problem in JIRA 5.2.8. To resolve this problem we have disabled the create issue popup.
To disable the create issue popup add this script in the banner.
<script type="text/javascript"> //To disable the create issue popup AJS.$("#create_link").removeClass("create-issue"); </script>
Look, this link it can help you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thanks very mich for reply. But we do not want to disable the create issue popup.
Kind regards
Toni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.