The problem - when exporting/importing insight into another Jira it gets new ids and keys.
...
Migration has now the original objekt key.
Do step 2 and 3 using export / import of project and object schema
Update the custom fields to map to new objectType Ids.
Step 4. Re-link the issues to insight objects
- Go to iHub
- Click on Credentials and add basic auth to the other Jira
- Click on outbound Integrations
- Click New
- Select template Jira Core →Search
- In the URL add ?jql=project=myP and customfield_x != empty
- This will search the Jira for issues with the custom field that is not empty.
- Click New again
- Select template Jira Core →Edit Issue
- Select Parent to be the action above
- Enter the URL to the other Jira that will be fixed with references.
- Go down to the body section and specify the custom field that will be update
Code Block { "fields":{"customfield_10201":"{{key}}"} }