Skip to content

Add GitLab pull request support  #12

@Jakub-Vacek

Description

@Jakub-Vacek

Add method getPullRequests to class GitLabService with parameters: config: Config and pullRequestsCount: Int. This method will return array of PullRequest objects containing attributes:

  • id: Int
  • name: String - name of pull request
  • url: String - web url to pull request
  • state: Enum - state of pull request inProgress or merged or closed
  • cratedAt: String - datetime string of pull request creation
  • lastActivityAt: String - datetime string of pull request last activity (including merging or closing)

In this array will be objects with newest lastActivityAt parameter and length of array is equal to parameter pullRequestsCount.

During implementation you can use GilLab api documentation

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