1
0
-1

This is regarding the images/files in the description/comments.

How do I get the images/files to display at the destination exactly the same as it was posted on the source?


When syncing from GitHub to Jira, although the images/files are not displayed, a link to the images/files is provided after the placeholders, so there is still a way to view the images/files. 


However, when syncing from Jira to GitHub, the images/files are not displayed, it is just placeholders, so there is no other way to view the images/files from here.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi George,


      Unfortunately, Exalate does not currently support images/files on GitHub. 

      Having said that, you might be able to get around it by displaying a link that can be accessed in GitHub by any user who has access to Jira. 


      For this to work, I have tried the following


      Outgoing in Jira:

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


      Incoming in GitHub:

      def a = replica.description.split("src=")[1].split("\"")[1]
      a = "https://syedhassan.atlassian.net"+a
      issue.description  = replica.description + "\n\n" + a


      Please change the base URL of your Jira instance for this to work. 


      Thanks

      Majid


        CommentAdd your comment...