Home / Servers / Sentry API / update_organization_issues

Bulk Mutate an Organization's Issues

An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.

Bulk Mutate an Organization's Issues Bulk mutate various attributes on a maxmimum of 1000 issues. - For non-status updates, the id query parameter is required. - For status updates, the id query parameter may be omitted to update… [PUT /api/0/organizations/{organization_id_or_slug}/issues/]

Name on the gateway: sentry_api__update_organization_issues · may change things.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
environmentarrayThe name of environments to filter by.
projectarrayThe IDs or slugs of projects to filter by. Project slugs are unique within…
idarrayThe list of issue IDs to mutate. It is optional for status updates, in which…
statsPeriodstringThe period of time for the query, will override the start & end parameters, a…
startstringThe start of the period of time for the query, expected in ISO-8601 format.…
endstringThe end of the period of time for the query, expected in ISO-8601 format. For…
querystringAn optional search query for filtering issues. A default query will apply if…
viewIdstringThe ID of the view to use. If no query is present, the view's query and…
sortdate | freq | inbox | new | recommended | trends | userThe sort order of the view. Options include 'Last Seen' (date), 'First Seen'…
limitintegerThe maximum number of issues to affect. The maximum is 100.
inbox requiredbooleanIf true, marks the issue as reviewed by the requestor.
status requiredresolved | unresolved | ignored | resolvedInNextRelease | mutedLimit mutations to only issues with the given status. * resolved * unresolved…
statusDetails requiredobjectAdditional details about the resolution. Status detail updates that include…
substatus requiredstringThe new substatus of the issue. * archived_until_escalating *…
hasSeen requiredbooleanIf true, marks the issue as seen by the requestor.
isBookmarked requiredbooleanIf true, bookmarks the issue for the requestor.
isPublic requiredbooleanIf true, publishes the issue.
isSubscribed requiredbooleanIf true, subscribes the requestor to the issue.
merge requiredbooleanIf true, merges the issues together.
discard requiredbooleanIf true, discards the issues instead of updating them.
assignedTo requiredstringThe user or team that should be assigned to the issues. Values take the form…
priority requiredlow | medium | highThe priority that should be set for the issues * low * medium * high
ignoreDuration requiredintegerIgnore the issue for this many minutes.
ignoreCount requiredintegerIgnore the issue until it is seen this many more times.
ignoreWindow requiredintegerWindow in minutes over which ignoreCount is measured. Maximum is 7 days.
ignoreUserCount requiredintegerIgnore the issue until it affects this many more users.
ignoreUserWindow requiredintegerWindow in minutes over which ignoreUserCount is measured. Maximum is 7 days.
snoozeDuration requiredintegerSnooze the issue for this many minutes.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "sentry_api__update_organization_issues",
  "arguments": {
    "organization_id_or_slug": "…",
    "inbox": true,
    "status": "…",
    "statusDetails": "…",
    "substatus": "…",
    "hasSeen": true,
    "isBookmarked": true,
    "isPublic": true,
    "isSubscribed": true,
    "merge": true,
    "discard": true,
    "assignedTo": "…",
    "priority": "…",
    "ignoreDuration": 0,
    "ignoreCount": 0,
    "ignoreWindow": 0,
    "ignoreUserCount": 0,
    "ignoreUserWindow": 0,
    "snoozeDuration": 0
  }
}

Or connect the Sentry API server directly, which lists 272 tools including this one:

Run in your terminal
claude mcp add --transport http hj-sentry-api https://mcp.hjlabs.in/mcp/sentry-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the bulk mutate an organization's issues tool with organization_id_or_slug set to ….

More from Sentry API