Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The problem - when exporting/importing insight into another Jira it gets new ids and keys.

This makes the issues lose the connection to the insight schema when migrating issues from one Jira to another.


  1. Tag objects with the issue key, to be able to recreate the link after.

  2. Import the insight schema

  3. Import the issues

  4. Re-link the issues to insight objects



Tag objects with the issue key, to be able to recreate the link after.

...

Create an attribute called Migration that will be used to identify the objekt late on.Image Removed

...


Add an automation to tag the object with its own key

...

Results inImage Removed

...

Migration has now the original objekt key.

...

Step 4. Re-link the issues to insight objects


  1. Go to iHub

  2. Click on Credentials and add basic auth to the other Jira

  3. Click on

...

  1. Integrations

  2. Click New

  3. Select template Jira Core →Search

  4. In the URL add ?jql=project=myP and customfield_x != empty 

  5. This will search the Jira for issues with the custom field that is not empty.

  6. Click New again

  7. Select template Jira Core →Edit Issue

  8. Select Parent to be the action above

  9. Enter the URL to the other Jira that will be fixed with references.

  10. Go down to the body section and specify the custom field that will be update


    Code Block
    {
        "fields":{"customfield_10201":"{{key}}"}
    }