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:28:14 UTC

[lucene-jira-archive] branch main updated: Make hyperlinks to sub-tasks compact (#50)

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 9833162d Make hyperlinks to sub-tasks compact (#50)
9833162d is described below

commit 9833162d46464f7e4a3ccc7d67e4310dbc7001c9
Author: Tomoko Uchida <to...@gmail.com>
AuthorDate: Sun Jul 17 19:28:10 2022 +0900

    Make hyperlinks to sub-tasks compact (#50)
---
 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 db6da816..88d101bc 100644
--- a/migration/src/jira2github_import.py
+++ b/migration/src/jira2github_import.py
@@ -76,7 +76,7 @@ def convert_issue(num: int, dump_dir: Path, output_dir: Path, account_map: dict[
         # embed github issue number next to sub task keys
         subtasks_list_items = []
         for jira_key in subtasks:
-            subtasks_list_items.append(f"{jira_key} : [Jira link]({jira_issue_url(jira_key)})")
+            subtasks_list_items.append(f"[{jira_key}]({jira_issue_url(jira_key)})")
 
         created_datetime = dateutil.parser.parse(created)
         updated_datetime = dateutil.parser.parse(updated)