You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by to...@apache.org on 2022/07/17 10:27:28 UTC

[lucene-jira-archive] branch main updated: Enable mention to comment authors (#49)

This is an automated email from the ASF dual-hosted git repository.

tomoko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene-jira-archive.git


The following commit(s) were added to refs/heads/main by this push:
     new 555d1b3b Enable mention to comment authors (#49)
555d1b3b is described below

commit 555d1b3bee34b78b65aa65b9e223514ff118a11c
Author: Tomoko Uchida <to...@gmail.com>
AuthorDate: Sun Jul 17 19:27:23 2022 +0900

    Enable mention to comment authors (#49)
---
 migration/src/jira2github_import.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/migration/src/jira2github_import.py b/migration/src/jira2github_import.py
index 9262d3e3..db6da816 100644
--- a/migration/src/jira2github_import.py
+++ b/migration/src/jira2github_import.py
@@ -143,7 +143,7 @@ def convert_issue(num: int, dump_dir: Path, output_dir: Path, account_map: dict[
 
             jira_comment_link = f'https://issues.apache.org/jira/browse/{jira_id}?focusedCommentId={comment_id}&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-{comment_id}'
                 
-            comment_body += f'[Legacy Jira: [{comment_author(comment_author_name, comment_author_dispname)} on {comment_time}]({jira_comment_link})]\n'
+            comment_body += f'[Legacy Jira: {comment_author(comment_author_name, comment_author_dispname)} on [{comment_time}]({jira_comment_link})]\n'
             data = {
                 "body": comment_body
             }