We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b32e28 commit a9d2380Copy full SHA for a9d2380
jbi/jira/service.py
@@ -130,8 +130,10 @@ def add_jira_comment(self, context: ActionContext):
130
comment = context.bug.comment
131
assert comment # See jbi.steps.create_comment()
132
assert comment.body # Also see jbi.steps.create_comment()
133
- formatted_comment = (
134
- f"*{commenter}* commented: \n{markdown_to_jira(comment.body)}"
+ prefix = f"*{commenter}* commented: \n"
+ formatted_comment = prefix + markdown_to_jira(
135
+ comment.body,
136
+ max_length=JIRA_DESCRIPTION_CHAR_LIMIT - len(prefix),
137
)
138
139
issue_key = context.jira.issue
0 commit comments