Linear helps streamline software projects, sprints, tasks, and bug tracking. It's built for high-performance teams.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Linear (OAuth) API provides access to Linear's issue tracking and project management capabilities, letting you automate tasks, synchronize data across platforms, and enhance your team's productivity. Whether you're reporting bugs, assigning tasks, or tracking progress, the Linear API on Pipedream allows for real-time, event-driven workflows that can increase efficiency and foster collaboration within teams.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
linear: {
type: "app",
app: "linear",
}
},
async run({steps, $}) {
const data = {
"query": `{
user(id: "me") {
id
name
email
displayName
}
}`,
}
return await axios($, {
method: "post",
url: `https://api.linear.app/graphql`,
headers: {
Authorization: `Bearer ${this.linear.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})