Update Issue

Update issue status or properties

Usage #

// Import the typed helper
import { updateIssue } from "@hotglue/sdk/sentry";
const result = await client.execute({
...updateIssue({
issue_id: string,
status: string,
assignedTo: string,
// ...
}),
userId: "user_123",
});
// result is typed as UpdateIssueOutput
const result = await client.execute({
integration: "sentry",
tool: "update_issue",
userId: "user_123",
input: {
issue_id: string,
status: string,
assignedTo: string,
// ...
},
});
// The agent will automatically use this tool when needed
const agent = new Agent({
tools: () => hotglueTools({
integrations: ["sentry"],
userId: "user_123",
}),
});
await agent.generate("run the Update Issue tool");

Input Schema #

issue_id string required

Issue ID

status string

New issue status

values: resolved, unresolved, ignored, resolvedInNextRelease
assignedTo string

User or team to assign the issue to

hasSeen bool

Mark issue as seen

isBookmarked bool

Bookmark the issue

This tool calls: #

PUT https://sentry.io/api/0/issues/{issue_id}/