Skip to content

[Enhancement]: Fetch Pr's and Issues from self hosted gitlab instances as well #475

Description

@DineshThumma9

Enhancement Summary

Ability to fetch PR's and Issue from self managed gitlab instances

Motivation

Currently pr and issues can be fetched only from public gitlab instances with are under gitlab.com domain if an organisation uses self managed gitlab instance they fetching pr and issue is impossible you get hit with 404 error and Failed to fetch message even tho pr and issue are publicly available

Proposed Solution

Currently in Gitlab constructor baseUrl is hard-coded to https://gitlab.com/api/v4 we just need to change domain (gitlab.com) and rest wiil function same and add a check does domain exists and prompt user with an gitlab instance url when selected gitlab in dropdown menu

Alternatives Considered

In Implementation i considered different approach's and regarding UX such as including and input field itself in dropdown (Gitlab Self hosted) option along with github and gitlab and in backend to pass url as parameter to function but as a feature request its a must as if we wanna provide first class integration with gitlab

Screenshots / Mockups

If applicable, add visuals or examples of how this could look/work.

Image

Additional Context

Any other relevant information or use cases.


Contribution Checklist

  • I have checked existing enhancement requests
  • I have clearly described the proposed change
  • I have explained the motivation and context
  • I am willing to help implement this feature (optional)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions