You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see that the description field seems to be hard coded for various Work Item Types. If the WI Type name is "Bug", then it seems to switch over to using ReproSteps instead of Description. This causes issues if there are any other HTML fields than Description/Bug. Is there an existing way to handle custom HTML fields, or does this feature need to be built?
The text was updated successfully, but these errors were encountered:
Alexander-Hjelm
changed the title
Investigate if we can/should handle Attachmen links/Work Item links in a more general fashion
Investigate if we can/should handle Attachment links/Work Item links in a more general fashion
Sep 13, 2024
My suggestion would simply be to respect the mapping between the types and fields specified by the user in their config json file, rather than simply assume certain WITs use certain fields. I was forced to migrate from Jira to ADO at short notice and had little knowledge of the ADO WITs and their standard field names (e.g., that Bugs used Repro Steps rather than Description; see #1063). If instead you do want to assume specific field types in target WITs then this ought to be clearly documented somewhere.
Following up on #1063
Here is the CorrectDescription method for reference:
jira-azuredevops-migrator/src/WorkItemMigrator/WorkItemImport/WitClient/WitClientUtils.cs
Lines 442 to 480 in 3361bb8
You can see that the description field seems to be hard coded for various Work Item Types. If the WI Type name is "Bug", then it seems to switch over to using ReproSteps instead of Description. This causes issues if there are any other HTML fields than Description/Bug. Is there an existing way to handle custom HTML fields, or does this feature need to be built?
The text was updated successfully, but these errors were encountered: