Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jira Export unable to map the parent issue correctly #806

Closed
srikardeshmukh opened this issue Jul 10, 2023 · 5 comments
Closed

Jira Export unable to map the parent issue correctly #806

srikardeshmukh opened this issue Jul 10, 2023 · 5 comments
Assignees

Comments

@srikardeshmukh
Copy link

srikardeshmukh commented Jul 10, 2023

Describe the problem
A clear and concise description of what the problem/bug is.
I am trying to export the custom project from Jira to Azure DevOps. While creating the export the parent issue/epic is being mapped with the issue id instead of the issue reference. But, as the origin id contains the reference, the actual parent is not being mapped.

The following are details of the issue. ( P.S. modified the name of the project for security constraints)
When I export the JIRA issue to xml, the parent field is shown as follows:
<parent id="111210">MyProj-282</parent>

My config file has following link mapping:
{
"source": "Parent",
"target": "System.LinkTypes.Hierarchy-Reverse"
},

After export, the issue contains the following value:
"Links": [
{
"Change": 0,
"TargetOriginId": "111210",
"TargetWiId": 0,
"WiType": "System.LinkTypes.Hierarchy-Reverse"
}
],

Where as the files are created as MyProj-282.json

Hence, when performing the import, the import utility is unable to find "111210" file. So, it is not linking the parent epic.
I tried other ways by adding source-type. But, the link mapping does not support source-type.

Tool version

  • Version of the jira-azuredevops-migrator tool [e.g. 3.0.139]
@anurao98
Copy link

anurao98 commented Jul 13, 2023

Hi Team/ @Alexander-Hjelm ,

We also have been encountering similar issues with Parent/Child links while migrating issues from JIRA to ADO for the Team managed project types. Migration Tool version: v3.0.139 used.

The epic link field and the link map in JSON file is provided like:

"epic-link-field": "Epic Link",

"link-map": {
"link": [
{
"source": "Epic",
"target": "System.LinkTypes.Hierarchy-Reverse"
},
{
"source": "Parent",
"target": "System.LinkTypes.Hierarchy-Reverse"
},
{
"source": "Child",
"target": "System.LinkTypes.Hierarchy-Forward"
},
{
"source": "Relates",
"target": "System.LinkTypes.Related"
},
{
"source": "Blocks",
"target": "System.LinkTypes.Related"
},
{
"source": "Cloners",
"target": "System.LinkTypes.Related"
},
{
"source": "is duplicated by",
"target": "System.LinkTypes.Related"
},
{
"source": "Duplicate",
"target": "System.LinkTypes.Duplicate-Forward"
}
]
}

If we check the JSON of the child item for the parent the link, it maps:

"Links": [
{
"Change": 0,
"TargetOriginId": "xxxxx",
"TargetWiId": 0,
"WiType": "System.LinkTypes.Hierarchy-Reverse"
}
The same migration if done with the 2.3.117 version, it works fine- but we end up encountering issues with broken inline images.

Could you help us to get this fixed or any alternate solutions available?

@Alexander-Hjelm
Copy link
Collaborator

Maybe related to #772?

@anurao98
Copy link

Hi @Alexander-Hjelm,

Yes. Could you try reproducing this issue and help us out on getting them resolved?

@github-actions
Copy link

This issue is stale because it has been open for 25 days with no activity.

@github-actions github-actions bot added the stale label Aug 19, 2023
@github-actions
Copy link

This issue was closed because it has been inactive for 5 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants