agentek-youtrack-mcp 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -266,6 +266,7 @@ class IssuesClient:
|
|
|
266
266
|
issue_id: str,
|
|
267
267
|
summary: Optional[str] = None,
|
|
268
268
|
description: Optional[str] = None,
|
|
269
|
+
uses_markdown: Optional[bool] = None,
|
|
269
270
|
additional_fields: Optional[Dict[str, Any]] = None,
|
|
270
271
|
) -> Issue:
|
|
271
272
|
"""
|
|
@@ -275,6 +276,9 @@ class IssuesClient:
|
|
|
275
276
|
issue_id: The issue ID or readable ID
|
|
276
277
|
summary: The new issue summary
|
|
277
278
|
description: The new issue description
|
|
279
|
+
uses_markdown: Whether the description is rendered as Markdown
|
|
280
|
+
(True) or YouTrack Wiki markup (False). Leave as None to keep
|
|
281
|
+
the issue's current setting.
|
|
278
282
|
additional_fields: Additional fields to update
|
|
279
283
|
|
|
280
284
|
Returns:
|
|
@@ -288,6 +292,9 @@ class IssuesClient:
|
|
|
288
292
|
if description is not None:
|
|
289
293
|
data["description"] = description
|
|
290
294
|
|
|
295
|
+
if uses_markdown is not None:
|
|
296
|
+
data["usesMarkdown"] = uses_markdown
|
|
297
|
+
|
|
291
298
|
if additional_fields:
|
|
292
299
|
data.update(additional_fields)
|
|
293
300
|
|
|
@@ -224,6 +224,7 @@ class BasicOperations:
|
|
|
224
224
|
issue_id: str,
|
|
225
225
|
summary: Optional[str] = None,
|
|
226
226
|
description: Optional[str] = None,
|
|
227
|
+
uses_markdown: Optional[bool] = None,
|
|
227
228
|
additional_fields: Optional[Dict[str, Any]] = None,
|
|
228
229
|
) -> str:
|
|
229
230
|
"""
|
|
@@ -235,6 +236,9 @@ class BasicOperations:
|
|
|
235
236
|
issue_id: The issue identifier (e.g., "DEMO-123", "PROJECT-456")
|
|
236
237
|
summary: The new issue summary/title (optional)
|
|
237
238
|
description: The new issue description (optional)
|
|
239
|
+
uses_markdown: Whether the description is rendered as Markdown
|
|
240
|
+
(True) or YouTrack Wiki markup (False); leave as None to keep
|
|
241
|
+
the current setting (optional)
|
|
238
242
|
additional_fields: Additional fields to update as dict (optional)
|
|
239
243
|
|
|
240
244
|
Returns:
|
|
@@ -245,6 +249,7 @@ class BasicOperations:
|
|
|
245
249
|
issue_id=issue_id,
|
|
246
250
|
summary=summary,
|
|
247
251
|
description=description,
|
|
252
|
+
uses_markdown=uses_markdown,
|
|
248
253
|
additional_fields=additional_fields,
|
|
249
254
|
)
|
|
250
255
|
# Convert Issue object to dict if needed
|
|
@@ -309,6 +314,7 @@ class BasicOperations:
|
|
|
309
314
|
"issue_id": "Issue identifier like 'DEMO-123' or 'PROJECT-456'",
|
|
310
315
|
"summary": "New issue summary/title (optional)",
|
|
311
316
|
"description": "New issue description (optional)",
|
|
317
|
+
"uses_markdown": "Set True to render the description as Markdown, False for YouTrack Wiki markup; omit to keep the current setting (optional)",
|
|
312
318
|
"additional_fields": "Additional fields to update as dictionary (optional)"
|
|
313
319
|
}
|
|
314
320
|
},
|