I've tried this a few different ways, but I keep getting "null+null".
Any ideas on what I'm doing wrong?
It's a behavior validation script places on the summary field (which is hidden), and runs on the create action.
The custom fields "system" and "access" are radio buttons.
import com.atlassian.jira.component.ComponentAccessor
import com.onresolve.jira.groovy.user.FieldBehaviours
import groovy.transform.BaseScript
import static com.atlassian.jira.issue.IssueFieldConstants.SUMMARY
@BaseScript FieldBehaviours fieldBehaviours
def system = getFieldByName("System").value
def access = getFieldByName("Access").value
def summary = getFieldById("summary")
summary.setFormValue("${system} + ${access}")