Linear (OAuth)

Linear helps streamline software projects, sprints, tasks, and bug tracking. It's built for high-performance teams.

Integrate the Linear (OAuth) API with the Python API

Setup the Linear (OAuth) API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Linear (OAuth) and Python remarkably fast. Free for developers.

Run Python Code with Python API on Issue Created (Instant) from Linear (OAuth) API
Linear (OAuth) + Python
 
Try it
Run Python Code with Python API on Issue Updated (Instant) from Linear (OAuth) API
Linear (OAuth) + Python
 
Try it
Run Python Code with Python API on New Created Comment (Instant) from Linear (OAuth) API
Linear (OAuth) + Python
 
Try it
Run Python Code with Python API on New Issue Status Updated (Instant) from Linear (OAuth) API
Linear (OAuth) + Python
 
Try it
New Created Comment (Instant) from the Linear (OAuth) API

Emit new event when a new comment is created (OAuth). See the docs here

 
Try it
New Created Issue (Instant) from the Linear (OAuth) API

Emit new event when a new issue is created (OAuth). See the docs here

 
Try it
New Issue Status Updated (Instant) from the Linear (OAuth) API

Emit new event when the status of an issue is updated (OAuth). See the docs here

 
Try it
New Updated Issue (Instant) from the Linear (OAuth) API

Emit new event when an issue is updated (OAuth). See the docs here

 
Try it
Create Issue with the Linear (OAuth) API

Create an issue (OAuth). See the docs here

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Get Issue with the Linear (OAuth) API

Get an issue by ID (OAuth). See the docs here

 
Try it
Get Teams with the Linear (OAuth) API

Get all the teams (OAuth). See the docs here

 
Try it
Search Issues with the Linear (OAuth) API

Search issues (OAuth). See the docs here

 
Try it

Overview of Linear (OAuth)

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.

Connect Linear (OAuth)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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,
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}