1
This commit is contained in:
Evan Pratten 2023-11-03 10:55:48 -04:00
parent 1a46f9796c
commit da7e0ba865

View File

@ -135,10 +135,11 @@ def find_or_create_trello_issue_for(
return card["id"]
# Build the description
issue_kind = " ".join([part.capitalize() for part in gitlab_issue.kind.split("_")])
card_description = "\n\n".join(
[
f"**Sync Metadata:** `{json.dumps({'ns': 'guru-gitlab', 'ids': [gitlab_issue.get_fmt_id()]})}`",
f"**GitLab Issue:** [`{gitlab_issue.reference_string}`]({gitlab_issue.web_url})\n",
f"**GitLab {issue_kind}:** [`{gitlab_issue.reference_string}`]({gitlab_issue.web_url})\n",
"---",
]
)