Skip to content

Commit 931ade4

Browse files
authored
Pass the correct fields to add see-also links to the REST API. (#242)
1 parent ce47a56 commit 931ade4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jbi/actions/default.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def create_and_link_issue( # pylint: disable=too-many-locals
264264
extra=log_context.update(operation=Operation.LINK).dict(),
265265
)
266266
bugzilla_response = self.bugzilla_client.update_bug(
267-
bug.id, see_also_add=jira_url
267+
bug.id, see_also={"add": [jira_url]}
268268
)
269269

270270
bugzilla_url = f"{settings.bugzilla_base_url}/show_bug.cgi?id={bug.id}"

0 commit comments

Comments
 (0)