with FogBugz and Neon Postgres?
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.
Emit new event when a new column is added to a table. See the documentation
Emit new event when a row is added or modified. 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
Finds a row in a table via a lookup column. 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,
})
},
})
import { axios } from "@pipedream/platform";
import { neon } from "@neondatabase/serverless";
export default defineComponent({
props: {
neon_postgres: {
type: "app",
app: "neon_postgres",
}
},
async run({ steps, $ }) {
const { host, port, user, password, database } = this.neon_postgres.$auth
const connectionString = `postgresql://${user}:${password}@${host}:${port}/${database}`
const sql = neon(connectionString)
const result = await sql`SELECT version()`
const { version } = result[0]
return version
},
})