The ask here is to sync Description from Azure DevOps containing Inline Images and Rich Text to a Custom Field in Jira which ofcourse supports Rich Text.
To sync the Description field from Azure DevOps (which includes rich text and inline images) to a custom rich text field in Jira, you’ll need to map the Azure DevOps Description to your Jira custom field in the outgoing and incoming sync scripts.
Here’s how you can approach this:
- In your Azure DevOps outgoing sync script, assign the Description field to an entity property, for example:
replica.customFields."customDescription" = workItem.description
- In your Jira incoming sync script, map this property to your custom field. If your Jira custom field is a rich text field (like a Wiki-style field), use its custom field ID or name:
issue.customFields."Your Custom Field Name or ID" = replica.customFields."customDescription"
This setup will transfer the rich text content, including inline images, as long as both fields support rich text formatting. Note that inline images in Azure DevOps are typically stored as attachments and referenced in the description. Exalate will handle the transfer of attachments if you have attachment sync enabled, but you may need to ensure that image references are correctly mapped and accessible in Jira.
For more details on syncing rich text fields and handling attachments, check out:
If your Jira custom field is not rendering the rich text as expected, make sure it is configured to support wiki-style or HTML content.
Let me know if you need a sample script or further details on handling inline images!
To achieve this we need to send HTML Description out from Azure
replica.description = workItem.description
On Jira Cloud incoming
issue.customFields."CF Name".value = nodeHelper.toMarkDownFromHtml(replica.description)
Please note that I have taken Paragraph field (which supports Rich Text) as an example. This may or may not work for other field types.
Thanks, Dhiren

