This page will describe the steps to migrate from the old deprecated custom field to the new "Insight Object/s" custom field.
1) Create a new custom field and configure it as you wish.
2) Re-index JIRA to get an updated index.
3) Take this snipped groovy script and change the custom field ids accordingly
4) Copy this script with the changed custom field ids to the Insight web console.
5) Run the script and check the log for any details about the update issues.
6) Add the new field on the same screens as the previous one.
7) Check that you have the same objects as the old field
This script will update the history of the issue, and the update date, but will not fire any update event due to the "EventDispatchOption.DO_NOT_DISPATCH"