Hello. I want execute a peace of javascript code loaded on a custom field description, this custom field is only used with one issue type (task).
My problem is that if I created antoher issue type, when I open the form to create a new issue and change the issue type the custom field appears but the attached script don't work.
When I create two tasks as I don't need to change the issue type the script works properly.
How can I solve this problem?
thanks.
Community moderators have prevented the ability to post new answers.
Surround your script with the following to load the script in your described situation.
<script type="text/javascript"> AJS.$(document).bind('dialogContentReady', function(event, dialog) { <!-- your code here --> }); </script>
Henning
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You must put this script in the description field of sheme configuration fields issue type.
This link can help you to know more for Configuring Fields and Screens
https://confluence.atlassian.com/display/JIRA043/Configuring+Fields+and+Screens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.