Hi,
Whenever the issue priority is high i need the custom field to be displayed, if the priority is is low or medium i need to hide the custom field how can i achieve it ?
@Sunilkumar k, this is not possible in Atlassian Cloud.
Do you have Scriptrunner? You may be able to do this with a Behavior
Hi @padraik ,
Can you please explain how we can achieve with a behaviour ?
def priority = issue.getPriority().getName()def myCustomField = getFieldById("customfield_55555") // This will be the id of the custom field you want to show/hide log.debug("priority: " + priority) if (priority == "low" || priority == "medium") // whatever your priority names are{ myCustomField.setHidden(false); } else { myCustomField.setHidden(true); }
@padraik, I don't believe ScriptRunner Cloud has behaviors as an available feature. Am I wrong?
It looks like you're new here. Sign in or register to get started.