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 ?
Do you have Scriptrunner? You may be able to do this with a Behavior
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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);
}
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.
ohh, I didn't catch that this was cloud - my apologies, @Sunilkumar k - @Kian Stack Mumo Systems is correct, you aren't going to be able to make this happen if you're in cloud.
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.
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.