Migrate GitHub comments & authors to Jira

Originally asked by Sean Zhang on 04 August 2020 (original question)


Hi,

I’m trying to set up migration from GitHub to Jira. However, the comments were migrated in a way as every single one was made by “Exalate”. Basically it is not useful, only makes sense when you can see who said what. And I have reached out to support, I was told that impersonating is not supported.

To solve this issue, I checked GitHub APIs (https://docs.github.com/en/rest/reference/issues#comments), it is possible to get a list of comments and their owners.

My question to you here is: is it possible to add some kind of script to get a list of all comments and names of commenters of a given Github issue, as a block of text which contains information of who at what time said what, then copy this block of text into one comment on the migrated target Jira issue. Would be even better to break the list into many pieces where each comments on Jira issue contains one comments content reflecting one comment on GitHub, but breaking down comments is optional.

I’m looking forward to your answer.

Best regards,

Sean Zhang


Answer by Francis Martens (Exalate) on 10 August 2020

Hi Sean Zhang

There was some misunderstanding on our end. Whenever you process messages on the Jira side - you can impersonate the comments to any user (with the right permissions of course)

Check following document for more details

https://docs.idalko.com/exalate/x/owCe