update_issue can't change issue priority

オープン
#2,154 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
74/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
api, backend

調査の方向性

Start with packages/mcp-core/src/tools/catalog/update-issue.ts to trace the input schema and handler, then follow the request through packages/mcp-core/src/api-client/client.ts and the referenced Sentry API priority handling. Add priority support to the update path and account for the API's 400 response when the issue type disallows manual priority changes. Done when an agent can set low, medium, or high priority without changing status or assignment, and unsupported issue types return a clear error.

索引モデルが issue の本文から書いたものです。

説明

update_issue has no priority input, so agents can't set an issue's priority (low/medium/high) without also changing status or assignment. Reported through MCP user feedback (Cursor, server 0.42.0): an agent asked to set an issue's priority to low was blocked.

  • The input schema has no priority field (packages/mcp-core/src/tools/catalog/update-issue.ts:908-925), and the handler rejects any call without status or assignedTo (update-issue.ts:951-955; hint at :896).
  • ApiService.updateIssue doesn't send priority either (packages/mcp-core/src/api-client/client.ts:4114-4140).
  • The Sentry API already supports it on the issue PUT endpoint: GroupValidator.priority is a ChoiceField over PriorityLevel (getsentry/sentry src/sentry/api/helpers/group_index/validators/group.py:53-60), and update_groups applies it with handle_priority, which also sets priority_locked_at (src/sentry/api/helpers/group_index/update.py:256-270, :1021-1037).
  • The API returns 400 "Cannot manually set priority of one or more issues." for issue types without enable_user_status_and_priority_changes (update.py:257-263).

Feedback: MCP-SERVER-GND

via Sentry.

--

View Session [Sentry]

主要言語
TypeScript
スター
961
フォーク
179
平均マージ
15時間 33分
マージ済み PR(30日)
476

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/toolkit のほかの issue

getsentry/toolkit の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。