When importing tasks from Jira, description formatting with curly braces does not fit well
When importing tasks from Jira according to the documentation, after importing, I see various artifacts with the text from the description, especially problems with importing curly quotes from Jira (example on screenshots).
Please tell me if I understand correctly that this is a temporary problem of importing tasks from Jira to YouTrack, which may be solved in the future, or maybe I need to fix my import script from Jira?
Please sign in to leave a comment.
Hi!
I'm Sergey from the YouTrack team.
I've run a few tests but not managed to reproduce this issue so far.
Can you please elaborate on what you mean? How do you insert these?
I create a task and insert some text into its description, then edit the text, make the text bold, italic, underlined, as in the screenshots below.



After importing this issue into YouTrack, the description is not identical to the one in the issue in Jira, I have attached screenshots of the description below.
My guess is that the problem is in the converter function execution in the issue-handler.js file, which is in your @jetbrains/youtrack-jira-client import scripts:
I also noticed that this function changes the names of attached pictures in the description and comments, an example is in the screenshots below. As a result, they are also poorly imported.
The problem seems to be in the toMarkdown function from @jetbrains/youtrack-wiki-to-markdown-converter.
Could you clarify if this function has issues when used in scripts to import issues from Jira?
Hi!
Thanks for the details.
Now I see that it's related to the Jira Server (Data center) editor, which includes this Text editor option.
Fields in Jira and YouTrack are different, so this function is required to be able to add fields in the YouTrack format. Also, some fields that exist in Jira don't have an alternative in YouTrack, so these fields are skipped during the import. All of these are covered in this function.
Yes, apparently, there can be formatting issues in some specific cases like shown in your example. I reported it in our public tracker: https://youtrack.jetbrains.com/issue/JT-71419/Import-from-Jira-server-or-datacenter-wrong-text-formatting. Please feel free to vote for this issue. This helps us measure how many customers encounter this problem, and you’ll also get subscribed to the issue’s notifications. To do so, sign in to JetBrains YouTrack and hit a thumbs-up icon.