Should this be:
```js
if (ticketField.match(/custom_field/) && this.customFieldIDs.length) {
```
`this.customFieldIDs` is at the least an empty Array, right?