Hi Community,
How can auto-check one option for a custom checkbox field in Service Management? For example, I have a custom check box field and it has three options "Notification1" "Notification2" and "Notification3". I want option three to be selected whenever a customer tries to create a request. The other two options are optional they can select or disregard but one option should be selected all the time. I tried the below behavior short script. It checked the option, but the issue is the other two options are not checkable. Is it possible to have an option auto-select and the other two can be manually selected if needed?
import com.atlassian.jira.bc.project.component.ProjectComponent
import com.onresolve.jira.groovy.user.FieldBehaviours
import groovy.transform.BaseScript
@BaseScript FieldBehaviours fieldBehaviours
def notify = getFieldById('customfield_17560')
notify.setFormValue('Notification3')
Thanks,