DevOps > Jira Attachments

Hi @Angel_Hidalgo / @ashar.iqbal ,

This should fully work bi-directionally between Jira Cloud and Azure DevOps since Exalate 5.12.0. The key is to use the correct nodeHelper methods to do the transformations.

The scripts you basically need are the following:

JC Outgoing:

replica.description = nodeHelper.getHtmlField(issue, "description")
replica.comments = nodeHelper.getHtmlComments(issue)

JC Incoming:

issue.description  = nodeHelper.toMarkDownFromHtml(replica.description)
issue.comments     = nodeHelper.toMarkDownComments(commentHelper.mergeComments(issue, replica))

ADO Outgoing:

replica.description    = workItem.description
replica.comments       = workItem.comments

ADO Incoming:

workItem.attachments  = attachmentHelper.mergeAttachments(workItem, replica)
workItem.comments     = commentHelper.mergeComments(workItem, replica)

Here is a video of my latest test:

Hope it helps.

Thanks
Majid