In the issue creation screen, can i make a field is visible or not determined by another field's value?
By specify screen scheme, permission scheme, workflow transition conditions or so on.
Community moderators have prevented the ability to post new answers.
Maybe you are interested in this customisation guide - http://confluence.atlassian.com/display/JIRAOD/Displaying+a+Field+Based+on+Another+Field+Selection
Hello Huang,
It's been a while since the last reponse of this issue but I'm hoping you'd be able to share your solution as I too am trying to only make another field visible based on a value from a prior field. I'm using JIRA OnDemand.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I need to hide or not a "date and hour" field, I try the JS function, but it only hide the text area and not the label and the datepicker.
A schema to explain what I have (left side) and what I need (right side) :
JS code :
<script type="text/javascript">
source = document.getElementById('customfield_10600');
if (source) {
target = document.getElementById('customfield_10601');
if (source.value == 'Oui') target.style.display='none';
source.onchange=function() {
if (this.value == 'Oui') {
target.style.display = '';
} else {
target.style.display='none';
}
}
}
</script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Azwandi Mohd Aris [Atlassian] :I added the js in the customer field's description,but it doesn't work. I don't know what can i do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you detail your solution? I've had a helluva time doing stuff using javascript in field description.
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.