Skip to content

Commit 7ab1a9f

Browse files
author
Matthieu Honel
committed
Merge branch 'release/2.7.8'
2 parents c096c46 + aeb3e7a commit 7ab1a9f

6 files changed

Lines changed: 9 additions & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ user-guide-md5sum-html: ## extract MD5sum of original User-Guide.md from genera
130130
user-guide-md5sum-pdf: ## extract MD5sum of original User-Guide.md from generated PDF
131131
@docker run \
132132
--rm \
133+
--volume "/$(MAKEFILE_DIR)/docs/bin/noop.sh:/docker-entrypoint.d/05-certificates.sh" \
133134
--volume "/$(MAKEFILE_DIR)/$(USER_GUIDE_BUILD_PATH):/$(USER_GUIDE_BUILD_PATH)" \
134135
--workdir /$(USER_GUIDE_BUILD_PATH) \
135136
$(POPPLER_DOCKER_IMAGE) \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Since data is pulled from YWH platform to your server, only regular outbound web
5454
- fixed an issue with jira when scope contains special markdown characters
5555
- fixed an issue when "Download bug trackers comments" feedback option is activated
5656
and bug tracker attachments do not meet platform attachments requirements (unacceptable mime-type, maximum allowed size exceeded)
57+
- fixed an issue with jira when the title of an issue is longer than 255 characters
5758
- v2.6:
5859
- added work around bug trackers maximum size allowed for the text of the issues/comments (content put in Markdown file attachment when necessary)
5960
- v2.5:

docs/bin/noop.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
# NO OP

docs/user-guide/User-Guide.pdf

-11 Bytes
Binary file not shown.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ywh2bt"
3-
version = "2.7.7"
3+
version = "2.7.8"
44
description = "ywh2bt - YesWeHack to Bug Tracker"
55
readme = "README.md"
66
authors = ["m.honel <m.honel@yeswehack.com>"]

ywh2bt/core/api/trackers/jira/tracker.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
from ywh2bt.core.converter.jira2markdown import jira2markdown
4141

4242
_RE_IMAGE = re.compile(pattern=r'!([^!|]+)(?:\|[^!]*)?!')
43+
_TITLE_MAX_SIZE = 255
4344
_TEXT_MAX_SIZE = 32767
4445

4546

@@ -214,6 +215,8 @@ def send_report(
214215
title = self._message_formatter.format_report_title(
215216
report=report,
216217
)
218+
if len(title) > _TITLE_MAX_SIZE:
219+
title = f'{title[:_TITLE_MAX_SIZE - 3]}...'
217220
description = self._message_formatter.format_report_description(
218221
report=report,
219222
) + self._get_attachments_list_description(

0 commit comments

Comments
 (0)