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 05:01:30 UTC

[lucene-jira-archive] 01/01: mention to comment authors

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

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

commit 37e7a98be227029e18a04af11b366c44e6b399d0
Author: Tomoko Uchida <to...@gmail.com>
AuthorDate: Sun Jul 17 14:01:14 2022 +0900

    mention to comment authors
---
 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
             }