Hi , I have two custom fields one is a select list and the other is multi line text field. I need to make the multi line text field mandatory when the there is a change to the select list.
I added the following code using the behavior plugin at the select list field - It didnt work - Please help me out.
import org.ofbiz.core.entity.GenericValue
import com.atlassian.core.ofbiz.util.OFBizPropertyUtils
import com.atlassian.jira.ComponentManager
import com.atlassian.jira.issue.CustomFieldManager
def componentManager = ComponentManager.instance
FormField formComponent = getFieldByID(FieldChanged)
FormField psitre = getFieldById("customfiled_18292")
psitre.setRequired(true)