← Sentry

Update Issue. with Sentry API

Pipedream makes it easy to connect APIs for Sentry and 1000+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Update Issue. with the Sentry API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

Create a workflow to Update Issue. with the Sentry API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Update Issue. action
    1. Connect your Sentry account
    2. Select a Organization
    3. Select a Project
    4. Select a Issue
    5. Optional- Select a Status
    6. Optional- Select a Assigned To
    7. Optional- Configure Has Seen
    8. Optional- Configure Is Bookmarked
    9. Optional- Configure Is Public
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Update Issue. with Sentry API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Sentry
 
Try it
Update Issue. with Sentry API on New Message from Discord API
Discord + Sentry
 
Try it
Update Issue. with Sentry API on New Message In Channels from Slack API
Slack + Sentry
 
Try it
Update Issue. with Sentry API on New Message in Channel from Discord Bot API
Discord Bot + Sentry
 
Try it
Update Issue. with Sentry API on New Submission from Typeform API
Typeform + Sentry
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Update Issue. on Sentry
Description:Updates an individual issue's attributes. Only the attributes submitted are modified.[See the docs here](https://docs.sentry.io/api/events/update-an-issue/)
Version:0.1.0
Key:sentry-update-issue

Code

import app from "../../sentry.app.mjs";
import options from  "../../options.mjs";

export default {
  key: "sentry-update-issue",
  version: "0.1.0",
  type: "action",
  name: "Update Issue.",
  description: "Updates an individual issue's attributes. Only the attributes submitted are modified.[See the docs here](https://docs.sentry.io/api/events/update-an-issue/)",
  props: {
    app,
    organizationSlug: {
      propDefinition: [
        app,
        "organizationSlug",
      ],
    },
    projectId: {
      propDefinition: [
        app,
        "projectId",
      ],
    },
    issueId: {
      propDefinition: [
        app,
        "issueId",
        (context) => ({
          organizationSlug: context.organizationSlug,
          projectId: context.projectId,
        }),
      ],
    },
    status: {
      type: "string",
      label: "Status",
      description: "The new status for the issue.",
      options: options.STATUS_OPTIONS,
      optional: true,
    },
    assignedTo: {
      propDefinition: [
        app,
        "userId",
        ({ organizationSlug }) => ({
          organizationSlug,
        }),
      ],
      label: "Assigned To",
      description: "The actor id (or username) of the user or team that should be assigned to this issue.",
    },
    hasSeen: {
      type: "boolean",
      label: "Has Seen",
      description: "In case this API call is invoked with a user context this allows changing of the flag that indicates if the user has seen the event.",
      optional: true,
    },
    isBookmarked: {
      type: "boolean",
      label: "Is Bookmarked",
      description: "In case this API call is invoked with a user context this allows changing of the bookmark flag.",
      optional: true,
    },
    isPublic: {
      type: "boolean",
      label: "Is Public",
      description: "Sets the issue to public or private.",
      optional: true,
    },
  },
  async run({ $ }) {
    const body = {
      status: this.status,
      assignedTo: this.assignedTo,
      hasSeen: this.hasSeen,
      isBookmarked: this.isBookmarked,
      isPublic: this.isPublic,
    };
    const res = await this.app.updateIssue(
      this.issueId,
      body,
    );
    $.export("$summary", "Issue successfully updated.");
    return res.data;
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
SentryappappThis component uses the Sentry app.
OrganizationorganizationSlugstringSelect a value from the drop down menu.
ProjectprojectIdstringSelect a value from the drop down menu.
IssueissueIdstringSelect a value from the drop down menu.
StatusstatusstringSelect a value from the drop down menu:resolvedresolvedInNextReleaseunresolvedignored
Assigned ToassignedTostringSelect a value from the drop down menu.
Has SeenhasSeenboolean

In case this API call is invoked with a user context this allows changing of the flag that indicates if the user has seen the event.

Is BookmarkedisBookmarkedboolean

In case this API call is invoked with a user context this allows changing of the bookmark flag.

Is PublicisPublicboolean

Sets the issue to public or private.

Authentication

Sentry uses API keys for authentication. When you connect your Sentry account, Pipedream securely stores the keys so you can easily authenticate to Sentry APIs in both code and no-code steps.

Create authentication tokens at https://sentry.io/settings/account/api/auth-tokens/ to use the Sentry API on behalf of your user account.

About Sentry

Self-hosted and cloud-based error monitoring

More Ways to Use Sentry

Triggers

New Issue Event (Instant) from the Sentry API

Emit new events for issues that have been created or updated.

 
Try it

Actions

List Issue Events with the Sentry API

Return a list of events bound to an issue. See the docs here

 
Try it
List Project Events. with the Sentry API

Return a list of events bound to a project. See the docs here

 
Try it
List Project Issues. with the Sentry API

Return a list of issues bound to a project. See the docs here

 
Try it