/
Display a message custom field based on a drop-down list value
Display a message custom field based on a drop-down list value
//Hides the message custome fields
lfHide("customfield_14827");
lfHide("customfield_14828");
lfHide("customfield_14829");
//Disabled the message custome fields
lfDisable("customfield_14827");
lfDisable("customfield_14828");
lfDisable("customfield_14829");
lfWatch("customfield_14824", {"customfield_14824"},
"/var/atlassian/application-data/jira/silprograms/Live/messageScript.sil" , {"change"});
//lfGlobalMessage("The live field is working!", "INFO");
if (contains(argv["customfield_14824"], "A")) {
lfShow("customfield_14827");
lfSet("customfield_14827", "The value of ABC is A");
lfHide("customfield_14828");
lfSet("customfield_14828", "");
lfHide("customfield_14829");
lfSet("customfield_14829", "");
}
else if (contains(argv["customfield_14824"], "B")) {
lfHide("customfield_14827");
lfSet("customfield_14827", "");
lfShow("customfield_14828");
lfSet("customfield_14828", "The value of ABC is B");
lfHide("customfield_14829");
lfSet("customfield_14829", "");
}
else if (contains(argv["customfield_14824"], "C")) {
lfHide("customfield_14827");
lfSet("customfield_14827", "");
lfHide("customfield_14828");
lfSet("customfield_14828", "");
lfShow("customfield_14829");
lfSet("customfield_14829", "The value of ABC is C");
}
else {
lfHide("customfield_14827");
lfSet("customfield_14827", "");
}
, multiple selections available,
Related content
Hide multiple fields based on custom field value
Hide multiple fields based on custom field value
More like this
Compare two fields with custom JQL
Compare two fields with custom JQL
Read with this
lfShowFieldMessage
lfShowFieldMessage
More like this
Hiding and showing custom fields that are not supported
Hiding and showing custom fields that are not supported
More like this
Automatically update the custom field ID and/or name in filters
Automatically update the custom field ID and/or name in filters
Read with this
Fields and graphic elements supported by Live Fields
Fields and graphic elements supported by Live Fields
Read with this
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.