From dfae5950c9e108eb3c1c11bcca240908b5cd405e Mon Sep 17 00:00:00 2001 From: Raj Joshi Date: Thu, 22 May 2025 10:35:41 -0700 Subject: [PATCH] :wrench: chore: remove unused param from vsts.create_work_item --- src/sentry/integrations/vsts/client.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/sentry/integrations/vsts/client.py b/src/sentry/integrations/vsts/client.py index 50ba3c1d123364..514de451be13b0 100644 --- a/src/sentry/integrations/vsts/client.py +++ b/src/sentry/integrations/vsts/client.py @@ -236,7 +236,6 @@ def create_work_item( title: str | None = None, description: str | None = None, comment: str | None = None, - link: str | None = None, ) -> dict[str, Any]: data = [] if title: @@ -245,16 +244,6 @@ def create_work_item( data.append({"op": "add", "path": FIELD_MAP["description"], "value": description}) if comment: data.append({"op": "add", "path": FIELD_MAP["comment"], "value": comment}) - # XXX: Link is not yet used, as we can't explicitly bind it to Sentry. - # if link: - # data.append({ - # 'op': 'add', - # 'path': FIELD_MAP['link'], - # 'value': { - # 'rel': 'Hyperlink', - # 'url': link, - # } - # }) return self.patch( VstsApiPath.work_items_create.format(