Inside the method `issueUpdated(IssueEvent issueEvent)#AbstractIssueEventListener`,
when we call
issueEvent.getChangeLog.getRelated("ChildChangeItem")it will return a `GenericValue` which consists of the updated field.
For the returned `GenericValue` if the `issuetype` = `jira`, the value of `field` is the `id` of the jira field, but for custom field which the `issuetype` = `custom` the value of `field` is the `name` of the custom field instead of the `id` of the custom field.
Is there any way that I can retrieve the updated custom field id from the `changeLog`?
I've done a quick look on method `updateValue()#ImmutableCustomField` which will update the `ChangeItem` with
new ChangeItemBean(ChangeItemBean.CUSTOM_FIELD, getNameKey(), null, null, changelogValue, changelogString);
which the second parameter of the new `ChangeItemBean` is the name of custom field. While in `updateValue()#IssueTypeSystemField`, it will update the `ChangeItem` with
new ChangeItemBean(ChangeItemBean.STATIC_FIELD, getId(), null, null, issueType.getId(), issueType.getName());
which the second parameter of the new `ChangeItemBean` is the id of the system field.