I have read the documentation supplied here and now have this working. The idea is that a certain field is shown when working for a particular client:
<script type="text/javascript">
client = document.getElementById('customfield_10010');
if (client) {
target = document.getElementById('customfield_12980');
// Hide the target field if the client is not WRB
if (client.value != 10120) target.style.display='none';
client.onchange=function() {
if (this.value == 10120) {
target.style.display = '';
} else {
target.style.display='none';
}
}
}
</script>However, I would like to do the following:
Does anyone know if this is possible?
Also, I have this working on JIRA 6.4 - I read rumours that this was broken from 6.2 upwards but it is working for me!
Thanks
Matthew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.