File tree 1 file changed +0
-11
lines changed
src/sentry/integrations/vsts
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,6 @@ def create_work_item(
236
236
title : str | None = None ,
237
237
description : str | None = None ,
238
238
comment : str | None = None ,
239
- link : str | None = None ,
240
239
) -> dict [str , Any ]:
241
240
data = []
242
241
if title :
@@ -245,16 +244,6 @@ def create_work_item(
245
244
data .append ({"op" : "add" , "path" : FIELD_MAP ["description" ], "value" : description })
246
245
if comment :
247
246
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
- # })
258
247
259
248
return self .patch (
260
249
VstsApiPath .work_items_create .format (
You can’t perform that action at this time.
0 commit comments