← GitHub

Get Issue Assignees with GitHub API

Pipedream makes it easy to connect APIs for GitHub and 800+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Get Issue Assignees with the GitHub API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Create a workflow to Get Issue Assignees with the GitHub API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Get Issue Assignees action
    1. Connect your GitHub account
    2. Select a Repository
    3. Select a Issue Number
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger


This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Get Issue Assignees on GitHub
Description:Get assignees for an issue in a Gihub repo. [See docs here](https://docs.github.com/en/rest/issues/issues#get-an-issue)


import github from "../../github.app.mjs";

export default {
  key: "github-get-issue-assignees",
  name: "Get Issue Assignees",
  description: "Get assignees for an issue in a Gihub repo. [See docs here](https://docs.github.com/en/rest/issues/issues#get-an-issue)",
  version: "0.0.1",
  type: "action",
  props: {
    repoFullname: {
      label: "Repository",
      description: "The name of the repository. The name is not case sensitive",
      type: "string",
      propDefinition: [
    issueNumber: {
      label: "Issue Number",
      description: "The number that identifies the issue.",
      type: "integer",
      propDefinition: [
        (c) => ({
          repoFullname: c.repoFullname,
  async run({ $ }) {
    const issue = await this.github.getIssue({
      repoFullname: this.repoFullname,
      issueNumber: this.issueNumber,

    $.export("$summary", "Successfully found issue.");
    $.export("issue", issue);

    return issue.assignees.map((assignee) => assignee.login);


This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
GitHubgithubappThis component uses the GitHub app.
RepositoryrepoFullnamestringSelect a value from the drop down menu.
Issue NumberissueNumberintegerSelect a value from the drop down menu.


GitHub uses OAuth authentication. When you connect your GitHub account, Pipedream will open a popup window where you can sign into GitHub and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any GitHub API.

Pipedream requests the following authorization scopes when you connect your account:


About GitHub

Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.