Skip to content

Commit 9bb4368

Browse files
authored
🔧 chore: remove unused param from vsts.create_work_item (#92136)
1 parent 8bf424f commit 9bb4368

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/sentry/integrations/vsts/client.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ def create_work_item(
236236
title: str | None = None,
237237
description: str | None = None,
238238
comment: str | None = None,
239-
link: str | None = None,
240239
) -> dict[str, Any]:
241240
data = []
242241
if title:
@@ -245,16 +244,6 @@ def create_work_item(
245244
data.append({"op": "add", "path": FIELD_MAP["description"], "value": description})
246245
if comment:
247246
data.append({"op": "add", "path": FIELD_MAP["comment"], "value": comment})
248-
# XXX: Link is not yet used, as we can't explicitly bind it to Sentry.
249-
# if link:
250-
# data.append({
251-
# 'op': 'add',
252-
# 'path': FIELD_MAP['link'],
253-
# 'value': {
254-
# 'rel': 'Hyperlink',
255-
# 'url': link,
256-
# }
257-
# })
258247

259248
return self.patch(
260249
VstsApiPath.work_items_create.format(

0 commit comments

Comments
 (0)