with Jira and Playwright?
Emit new event when an event with subscribed event source triggered, See the docs
Emit new event when an issue is created. Note that Jira supports only one webhook, if more sources are needed please use New Event
source and select multiple events.
Emit new event when an issue is deleted. Note that Jira supports only one webhook, if more sources are needed please use New Event
source and select multiple events.
Emit new event when an issue is updated. Note that Jira supports only one webhook, if more sources are needed please use New Event
source and select multiple events.
The Jira API opens up a world of possibilities for automating project management tasks, syncing with other tools, and enhancing data visibility. With Pipedream's integration, you can streamline issue tracking by automatically creating, updating, and searching for issues in Jira, as well as managing projects, sprints, users, and more. This integration not only saves time but also ensures real-time data flow across various platforms, keeping teams in sync and projects on track.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jira: {
type: "app",
app: "jira",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.atlassian.com/me`,
headers: {
Authorization: `Bearer ${this.jira.$auth.oauth_access_token}`,
},
})
},
})
Playwright is a Node.js library which provides a high-level API to control Chrome/Chromium over the DevTools Protocol. Playwright runs in headless mode on Chromium on Pipedream.
Using Playwright you can perform tasks including:
import { playwright } from '@pipedream/browsers';
export default defineComponent({
async run({steps, $}) {
const browser = await playwright.launch();
// Interact with the web page programmatically
// See Playwright's Page documentation for available methods:
// https://playwright.dev/docs/api/class-page
const page = await browser.newPage();
await page.goto('https://pipedream.com/');
const title = await page.title();
const content = await page.content();
// Close context and browser otherwise the step will hang
await page.context().close()
await browser.close();
return { title, content }
},
})