gitlab-haskell-1.0.0.5: A Haskell library for the GitLab web API
Copyright(c) Rob Stewart Heriot-Watt University 2019
LicenseBSD3
Maintainerrobstewart57@gmail.com
Stabilitystable
Safe HaskellSafe-Inferred
LanguageHaskell2010

GitLab.API.Issues

Description

 
Synopsis

List issues

List group issues

groupIssues Source #

Arguments

:: Group

the group

-> IssueFilterAttrs

filter the issues, see https://docs.gitlab.com/ee/api/issues.html#list-issues

-> GitLab [Issue] 

Get a list of a project’s issues

List project issues

projectIssues Source #

Arguments

:: Project

the project

-> IssueFilterAttrs

filter the issues, see https://docs.gitlab.com/ee/api/issues.html#list-issues

-> GitLab [Issue] 

Get a list of a project’s issues

Single issue

issue Source #

Arguments

:: Int

issue ID

-> GitLab (Either (Response ByteString) (Maybe Issue)) 

Only for administrators. Get a single issue.

User issues

userIssues Source #

Arguments

:: User

the user

-> GitLab [Issue] 

gets all issues create by a user.

Single project issue

projectIssue Source #

Arguments

:: Project

Project

-> Int

issue ID

-> GitLab (Either (Response ByteString) (Maybe Issue)) 

Get a single project issue. If the project is private or the issue is confidential, you need to provide credentials to authorize.

New issue

newIssue Source #

Arguments

:: Project

project

-> Text

issue title

-> Text

issue description

-> IssueAttrs

issue attributes

-> GitLab (Either (Response ByteString) (Maybe Issue)) 

create a new issue.

newIssue' Source #

Arguments

:: Int

project ID

-> Text

issue title

-> Text

issue description

-> IssueAttrs

issue attributes

-> GitLab (Either (Response ByteString) (Maybe Issue)) 

create a new issue.

Edit issue

Delete an issue

Reorder an issue

reorderIssue Source #

Arguments

:: Project 
-> IssueId

issue ID

-> Int

The ID of a project’s issue that should be placed after this issue

-> Int

The ID of a project’s issue that should be placed before this issue

-> GitLab (Either (Response ByteString) Issue) 

Move an issue

moveIssue Source #

Arguments

:: Project

project

-> IssueId

The internal ID of a project’s issue

-> ProjectId

The ID of the new project

-> GitLab (Either (Response ByteString) (Maybe Issue)) 

Moves an issue to a different project. If a given label or milestone with the same name also exists in the target project, it’s then assigned to the issue being moved.

Clone an issue

cloneIssue Source #

Arguments

:: Project

project

-> IssueId

The internal ID of a project’s issue

-> ProjectId

The ID of the new project

-> GitLab (Either (Response ByteString) (Maybe Issue)) 

Clone the issue to given project. Copies as much data as possible as long as the target project contains equivalent labels, milestones, and so on.

Subscribe to an issue

subscribeIssue Source #

Arguments

:: Project

project

-> IssueId

The internal ID of a project’s issue

-> GitLab (Either (Response ByteString) (Maybe Issue)) 

Subscribes the authenticated user to an issue to receive notifications.

Unsubscribe from an issue

unsubscribeIssue Source #

Arguments

:: Project

project

-> IssueId

The internal ID of a project’s issue

-> GitLab (Either (Response ByteString) (Maybe Issue)) 

Unsubscribes the authenticated user from the issue to not receive notifications from it.

Create a to-do item

createTodo Source #

Arguments

:: Project

project

-> IssueId

The internal ID of a project’s issue

-> GitLab (Either (Response ByteString) (Maybe Todo)) 

Get all the merge requests that are related to the issue.

List merge requests related to issue

issueMergeRequests Source #

Arguments

:: Project

project

-> IssueId

The internal ID of a project’s issue

-> GitLab (Either (Response ByteString) [MergeRequest]) 

Get all the merge requests that are related to the issue.

List merge requests that close a particular issue on merge

issueMergeRequestsThatClose Source #

Arguments

:: Project

project

-> IssueId

The internal ID of a project’s issue

-> GitLab (Either (Response ByteString) [MergeRequest]) 

get all merge requests that close a particular issue when merged.

Participants on issues

issueParticipants Source #

Arguments

:: Project

project

-> IssueId

The internal ID of a project’s issue

-> GitLab (Either (Response ByteString) [User]) 

get all merge requests that close a particular issue when merged.

Comments on issues

Get issues statistics

issueStatisticsUser Source #

Arguments

:: IssueFilterAttrs

filter the issues, see https://docs.gitlab.com/ee/api/issues_statistics.html#get-issues-statistics

-> GitLab IssueStatistics

the issue statistics

Gets issues count statistics on all issues the authenticated user has access to.

Get group issues statistics

issueStatisticsGroup Source #

Arguments

:: Group

the group

-> IssueFilterAttrs

filter the issues, see https://docs.gitlab.com/ee/api/issues_statistics.html#get-issues-statistics

-> GitLab IssueStatistics

the issue statistics

Gets issues count statistics for a given group.

Get project issues statistics

issueStatisticsProject Source #

Arguments

:: Project

the project

-> IssueFilterAttrs

filter the issues, see https://docs.gitlab.com/ee/api/issues_statistics.html#get-issues-statistics

-> GitLab IssueStatistics

the issue statistics

Gets issues count statistics for a given group.

Issues attributes

defaultIssueFilters :: IssueFilterAttrs Source #

No issue filters, thereby returning all issues. Default scope is "all".

defaultIssueAttrs Source #

Arguments

:: Int

project ID

-> IssueAttrs 

issue attributes when creating or editing issues.

data DueDate Source #

When an issue is due

Instances

Instances details
Show DueDate Source # 
Instance details

Defined in GitLab.API.Issues

data IssueState Source #

Is a project issues open or closed

Constructors

IssueOpen 
IssueClosed 

Instances

Instances details
Show IssueState Source # 
Instance details

Defined in GitLab.API.Issues