with FogBugz and Opsgenie?
Emit new event instantaneously when something significant happens to a case.
Emit new new event when there's a new case under a specified filter. Note this may not effectively work for filters that generate results too long, or filters with more than 50,000 cases, especially if your FogBugz site is running Ocelot.
Emit new event when a new person or a user is created in FogBugz. It effectively tracks the addition of new users in the system.
Adds a note to an existing alert in Opsgenie. See the documentation
Gets a list of projects in FogBugz. This can be used to quickly view all projects and their details. See the documentation
The FogBugz API allows you to interact with your FogBugz software development tracking system programmatically. With this API, you can create, read, update, and delete cases; manage projects, areas, and categories; and perform searches to gather data-driven insights. Integrating FogBugz with Pipedream opens up possibilities for automating workflows, syncing data across platforms, and reacting to events within FogBugz in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fogbugz: {
type: "app",
app: "fogbugz",
}
},
async run({steps, $}) {
const data = {
"cmd": `listPeople`,
"token": `${this.fogbugz.$auth.api_token}`,
}
return await axios($, {
method: "post",
url: `https://${this.fogbugz.$auth.your_site}.fogbugz.com/f/api/0/jsonapi`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
The Opsgenie API enables automated incident management and alerting to streamline response actions. It allows you to create, update, and manage alerts, as well as configure and query users, schedules, and on-call rotations. Integrating Opsgenie with Pipedream opens up possibilities for orchestrating complex workflows, such as incident triggering from various sources, auto-update of tickets, synchronization with other tools, and much more, all in a serverless environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
opsgenie: {
type: "app",
app: "opsgenie",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.opsgenie.$auth.instance_region}.opsgenie.com/v2/teams`,
headers: {
"Authorization": `GenieKey ${this.opsgenie.$auth.api_key}`,
},
})
},
})