In a Behaviour Initialiser, the call to getRelevantConfig() causes the entire initialiser to fail.
def customField= ComponentAccessor.customFieldManager.getCustomFieldObjects(underlyingIssue).findByName("customfield_20022")
def config = customField.getRelevantConfig(getIssueContext())
The customField has a value.
The issueContext is not null.
Comment out the call to getRelevantConfig() and the initialiser runs. Anyone know what could be causing this?
Jira Service Desk 8.5.13.