← Gitlab

Get Issue with Gitlab API

Pipedream makes it easy to connect APIs for Gitlab and 900+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Get Issue with the Gitlab 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 with the Gitlab API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Get Issue action
    1. Connect your Gitlab account
    2. Select a Project ID
    3. Select a Issue Internal ID
  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

Integrations

Get Issue with Gitlab API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Gitlab
 
Try it
Get Issue with Gitlab API on New Item in Feed from RSS API
RSS + Gitlab
 
Try it
Get Issue with Gitlab API on New Message from Discord API
Discord + Gitlab
 
Try it
Get Issue with Gitlab API on New Message In Channels from Slack API
Slack + Gitlab
 
Try it
Get Issue with Gitlab API on New Message in Channel from Discord Bot API
Discord Bot + Gitlab
 
Try it

Details

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 on Gitlab
Description:Gets a single issue from repository. [See docs](https://docs.gitlab.com/ee/api/issues.html#single-project-issue)
Version:0.2.0
Key:gitlab-get-issue

Code

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

export default {
  key: "gitlab-get-issue",
  name: "Get Issue",
  description: "Gets a single issue from repository. [See docs](https://docs.gitlab.com/ee/api/issues.html#single-project-issue)",
  version: "0.2.0",
  type: "action",
  props: {
    gitlab,
    projectId: {
      propDefinition: [
        gitlab,
        "projectId",
      ],
    },
    issueIid: {
      propDefinition: [
        gitlab,
        "issueIid",
        (c) => ({
          projectId: c.projectId,
        }),
      ],
    },
  },
  async run({ $ }) {
    const response = await this.gitlab.getIssue(this.projectId, this.issueIid);
    $.export("$summary", `Retrieved issue ${response.title}`);
    return response;
  },
};

Configuration

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.
LabelPropTypeDescription
GitlabgitlabappThis component uses the Gitlab app.
Project IDprojectIdintegerSelect a value from the drop down menu.
Issue Internal IDissueIidstringSelect a value from the drop down menu.

Authentication

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

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

apiread_userread_repositorywrite_repositoryread_registrysudoopenidprofileemail

About Gitlab

Project planning and source code management

More Ways to Use Gitlab

Triggers

New Commit (Instant) from the Gitlab API

Emit new event when a new commit is pushed to a branch

 
Try it
New Branch (Instant) from the Gitlab API

Emit new event when a new branch is created

 
Try it
New Project from the Gitlab API

Emit new event when a project (i.e. repository) is created

 
Try it
New Audit Event (Instant) from the Gitlab API

Emit new event when a new audit event is created

 
Try it
New Commit Comment (Instant) from the Gitlab API

Emit new event when a commit receives a comment

 
Try it

Actions

Create Branch with the Gitlab API

Create a new branch in the repository. See docs

 
Try it
Create Epic with the Gitlab API

Creates a new epic. See docs

 
Try it
Create issue with the Gitlab API

Creates a new issue. See docs

 
Try it
Edit Issue with the Gitlab API

Updates an existing project issue. See docs

 
Try it
Get Repo Branch with the Gitlab API

Get a single project repository branch. See docs

 
Try it