GitLab v8.5.0 published on Friday, Oct 18, 2024 by Pulumi
gitlab.getProjectIssues
Explore with Pulumi AI
The gitlab.getProjectIssues
data source allows to retrieve details about issues in a project.
Upstream API: GitLab API docs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const foo = gitlab.getProject({
id: "foo/bar/baz",
});
const allWithFoo = foo.then(foo => gitlab.getProjectIssues({
project: foo.id,
search: "foo",
}));
import pulumi
import pulumi_gitlab as gitlab
foo = gitlab.get_project(id="foo/bar/baz")
all_with_foo = gitlab.get_project_issues(project=foo.id,
search="foo")
package main
import (
"github.com/pulumi/pulumi-gitlab/sdk/v8/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
foo, err := gitlab.LookupProject(ctx, &gitlab.LookupProjectArgs{
Id: pulumi.StringRef("foo/bar/baz"),
}, nil)
if err != nil {
return err
}
_, err = gitlab.GetProjectIssues(ctx, &gitlab.GetProjectIssuesArgs{
Project: foo.Id,
Search: pulumi.StringRef("foo"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using GitLab = Pulumi.GitLab;
return await Deployment.RunAsync(() =>
{
var foo = GitLab.GetProject.Invoke(new()
{
Id = "foo/bar/baz",
});
var allWithFoo = GitLab.GetProjectIssues.Invoke(new()
{
Project = foo.Apply(getProjectResult => getProjectResult.Id),
Search = "foo",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.GitlabFunctions;
import com.pulumi.gitlab.inputs.GetProjectArgs;
import com.pulumi.gitlab.inputs.GetProjectIssuesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = GitlabFunctions.getProject(GetProjectArgs.builder()
.id("foo/bar/baz")
.build());
final var allWithFoo = GitlabFunctions.getProjectIssues(GetProjectIssuesArgs.builder()
.project(foo.applyValue(getProjectResult -> getProjectResult.id()))
.search("foo")
.build());
}
}
variables:
foo:
fn::invoke:
Function: gitlab:getProject
Arguments:
id: foo/bar/baz
allWithFoo:
fn::invoke:
Function: gitlab:getProjectIssues
Arguments:
project: ${foo.id}
search: foo
Using getProjectIssues
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProjectIssues(args: GetProjectIssuesArgs, opts?: InvokeOptions): Promise<GetProjectIssuesResult>
function getProjectIssuesOutput(args: GetProjectIssuesOutputArgs, opts?: InvokeOptions): Output<GetProjectIssuesResult>
def get_project_issues(assignee_id: Optional[int] = None,
assignee_username: Optional[str] = None,
author_id: Optional[int] = None,
confidential: Optional[bool] = None,
created_after: Optional[str] = None,
created_before: Optional[str] = None,
due_date: Optional[str] = None,
iids: Optional[Sequence[int]] = None,
issue_type: Optional[str] = None,
labels: Optional[Sequence[str]] = None,
milestone: Optional[str] = None,
my_reaction_emoji: Optional[str] = None,
not_assignee_ids: Optional[Sequence[int]] = None,
not_author_ids: Optional[Sequence[int]] = None,
not_labels: Optional[Sequence[str]] = None,
not_milestone: Optional[str] = None,
not_my_reaction_emojis: Optional[Sequence[str]] = None,
order_by: Optional[str] = None,
project: Optional[str] = None,
scope: Optional[str] = None,
search: Optional[str] = None,
sort: Optional[str] = None,
updated_after: Optional[str] = None,
updated_before: Optional[str] = None,
weight: Optional[int] = None,
with_labels_details: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectIssuesResult
def get_project_issues_output(assignee_id: Optional[pulumi.Input[int]] = None,
assignee_username: Optional[pulumi.Input[str]] = None,
author_id: Optional[pulumi.Input[int]] = None,
confidential: Optional[pulumi.Input[bool]] = None,
created_after: Optional[pulumi.Input[str]] = None,
created_before: Optional[pulumi.Input[str]] = None,
due_date: Optional[pulumi.Input[str]] = None,
iids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
issue_type: Optional[pulumi.Input[str]] = None,
labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
milestone: Optional[pulumi.Input[str]] = None,
my_reaction_emoji: Optional[pulumi.Input[str]] = None,
not_assignee_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
not_author_ids: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
not_labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
not_milestone: Optional[pulumi.Input[str]] = None,
not_my_reaction_emojis: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
order_by: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
scope: Optional[pulumi.Input[str]] = None,
search: Optional[pulumi.Input[str]] = None,
sort: Optional[pulumi.Input[str]] = None,
updated_after: Optional[pulumi.Input[str]] = None,
updated_before: Optional[pulumi.Input[str]] = None,
weight: Optional[pulumi.Input[int]] = None,
with_labels_details: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectIssuesResult]
func GetProjectIssues(ctx *Context, args *GetProjectIssuesArgs, opts ...InvokeOption) (*GetProjectIssuesResult, error)
func GetProjectIssuesOutput(ctx *Context, args *GetProjectIssuesOutputArgs, opts ...InvokeOption) GetProjectIssuesResultOutput
> Note: This function is named GetProjectIssues
in the Go SDK.
public static class GetProjectIssues
{
public static Task<GetProjectIssuesResult> InvokeAsync(GetProjectIssuesArgs args, InvokeOptions? opts = null)
public static Output<GetProjectIssuesResult> Invoke(GetProjectIssuesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProjectIssuesResult> getProjectIssues(GetProjectIssuesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gitlab:index/getProjectIssues:getProjectIssues
arguments:
# arguments dictionary
The following arguments are supported:
- Project string
- The name or id of the project.
- Assignee
Id int - Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
- Assignee
Username string - Return issues assigned to the given username. Similar to assigneeid and mutually exclusive with assigneeid. In GitLab CE, the assignee_username array should only contain a single value. Otherwise, an invalid parameter error is returned.
- int
- Return issues created by the given user id. Combine with scope=all or scope=assignedtome.
- Confidential bool
- Filter confidential or public issues.
- Created
After string - Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Created
Before string - Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Due
Date string - Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, nextmonthandprevioustwo_weeks.
- Iids List<int>
- Return only the issues having the given iid
- Issue
Type string - Filter to a given type of issue. Valid values are [issue incident test_case]. (Introduced in GitLab 13.12)
- Labels List<string>
- Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
- Milestone string
- The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
- My
Reaction stringEmoji - Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
- Not
Assignee List<int>Ids - Return issues that do not match the assignee id.
- List<int>
- Return issues that do not match the author id.
- Not
Labels List<string> - Return issues that do not match the labels.
- Not
Milestone string - Return issues that do not match the milestone.
- Not
My List<string>Reaction Emojis - Return issues not reacted by the authenticated user by the given emoji.
- Order
By string - Return issues ordered by. Valid values are
created_at
,updated_at
,priority
,due_date
,relative_position
,label_priority
,milestone_due
,popularity
,weight
. Default is created_at - Scope string
- Return issues for the given scope. Valid values are
created_by_me
,assigned_to_me
,all
. Defaults to all. - Search string
- Search project issues against their title and description
- Sort string
- Return issues sorted in asc or desc order. Default is desc
- Updated
After string - Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Updated
Before string - Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Weight int
- Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
- With
Labels boolDetails - If true, the response returns more details for each label in labels field: :name, :color, :description, :descriptionhtml, :textcolor. Default is false. description_html was introduced in GitLab 12.7
- Project string
- The name or id of the project.
- Assignee
Id int - Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
- Assignee
Username string - Return issues assigned to the given username. Similar to assigneeid and mutually exclusive with assigneeid. In GitLab CE, the assignee_username array should only contain a single value. Otherwise, an invalid parameter error is returned.
- int
- Return issues created by the given user id. Combine with scope=all or scope=assignedtome.
- Confidential bool
- Filter confidential or public issues.
- Created
After string - Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Created
Before string - Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Due
Date string - Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, nextmonthandprevioustwo_weeks.
- Iids []int
- Return only the issues having the given iid
- Issue
Type string - Filter to a given type of issue. Valid values are [issue incident test_case]. (Introduced in GitLab 13.12)
- Labels []string
- Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
- Milestone string
- The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
- My
Reaction stringEmoji - Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
- Not
Assignee []intIds - Return issues that do not match the assignee id.
- []int
- Return issues that do not match the author id.
- Not
Labels []string - Return issues that do not match the labels.
- Not
Milestone string - Return issues that do not match the milestone.
- Not
My []stringReaction Emojis - Return issues not reacted by the authenticated user by the given emoji.
- Order
By string - Return issues ordered by. Valid values are
created_at
,updated_at
,priority
,due_date
,relative_position
,label_priority
,milestone_due
,popularity
,weight
. Default is created_at - Scope string
- Return issues for the given scope. Valid values are
created_by_me
,assigned_to_me
,all
. Defaults to all. - Search string
- Search project issues against their title and description
- Sort string
- Return issues sorted in asc or desc order. Default is desc
- Updated
After string - Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Updated
Before string - Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Weight int
- Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
- With
Labels boolDetails - If true, the response returns more details for each label in labels field: :name, :color, :description, :descriptionhtml, :textcolor. Default is false. description_html was introduced in GitLab 12.7
- project String
- The name or id of the project.
- assignee
Id Integer - Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
- assignee
Username String - Return issues assigned to the given username. Similar to assigneeid and mutually exclusive with assigneeid. In GitLab CE, the assignee_username array should only contain a single value. Otherwise, an invalid parameter error is returned.
- Integer
- Return issues created by the given user id. Combine with scope=all or scope=assignedtome.
- confidential Boolean
- Filter confidential or public issues.
- created
After String - Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- created
Before String - Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- due
Date String - Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, nextmonthandprevioustwo_weeks.
- iids List<Integer>
- Return only the issues having the given iid
- issue
Type String - Filter to a given type of issue. Valid values are [issue incident test_case]. (Introduced in GitLab 13.12)
- labels List<String>
- Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
- milestone String
- The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
- my
Reaction StringEmoji - Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
- not
Assignee List<Integer>Ids - Return issues that do not match the assignee id.
- List<Integer>
- Return issues that do not match the author id.
- not
Labels List<String> - Return issues that do not match the labels.
- not
Milestone String - Return issues that do not match the milestone.
- not
My List<String>Reaction Emojis - Return issues not reacted by the authenticated user by the given emoji.
- order
By String - Return issues ordered by. Valid values are
created_at
,updated_at
,priority
,due_date
,relative_position
,label_priority
,milestone_due
,popularity
,weight
. Default is created_at - scope String
- Return issues for the given scope. Valid values are
created_by_me
,assigned_to_me
,all
. Defaults to all. - search String
- Search project issues against their title and description
- sort String
- Return issues sorted in asc or desc order. Default is desc
- updated
After String - Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- updated
Before String - Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- weight Integer
- Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
- with
Labels BooleanDetails - If true, the response returns more details for each label in labels field: :name, :color, :description, :descriptionhtml, :textcolor. Default is false. description_html was introduced in GitLab 12.7
- project string
- The name or id of the project.
- assignee
Id number - Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
- assignee
Username string - Return issues assigned to the given username. Similar to assigneeid and mutually exclusive with assigneeid. In GitLab CE, the assignee_username array should only contain a single value. Otherwise, an invalid parameter error is returned.
- number
- Return issues created by the given user id. Combine with scope=all or scope=assignedtome.
- confidential boolean
- Filter confidential or public issues.
- created
After string - Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- created
Before string - Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- due
Date string - Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, nextmonthandprevioustwo_weeks.
- iids number[]
- Return only the issues having the given iid
- issue
Type string - Filter to a given type of issue. Valid values are [issue incident test_case]. (Introduced in GitLab 13.12)
- labels string[]
- Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
- milestone string
- The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
- my
Reaction stringEmoji - Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
- not
Assignee number[]Ids - Return issues that do not match the assignee id.
- number[]
- Return issues that do not match the author id.
- not
Labels string[] - Return issues that do not match the labels.
- not
Milestone string - Return issues that do not match the milestone.
- not
My string[]Reaction Emojis - Return issues not reacted by the authenticated user by the given emoji.
- order
By string - Return issues ordered by. Valid values are
created_at
,updated_at
,priority
,due_date
,relative_position
,label_priority
,milestone_due
,popularity
,weight
. Default is created_at - scope string
- Return issues for the given scope. Valid values are
created_by_me
,assigned_to_me
,all
. Defaults to all. - search string
- Search project issues against their title and description
- sort string
- Return issues sorted in asc or desc order. Default is desc
- updated
After string - Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- updated
Before string - Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- weight number
- Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
- with
Labels booleanDetails - If true, the response returns more details for each label in labels field: :name, :color, :description, :descriptionhtml, :textcolor. Default is false. description_html was introduced in GitLab 12.7
- project str
- The name or id of the project.
- assignee_
id int - Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
- assignee_
username str - Return issues assigned to the given username. Similar to assigneeid and mutually exclusive with assigneeid. In GitLab CE, the assignee_username array should only contain a single value. Otherwise, an invalid parameter error is returned.
- int
- Return issues created by the given user id. Combine with scope=all or scope=assignedtome.
- confidential bool
- Filter confidential or public issues.
- created_
after str - Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- created_
before str - Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- due_
date str - Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, nextmonthandprevioustwo_weeks.
- iids Sequence[int]
- Return only the issues having the given iid
- issue_
type str - Filter to a given type of issue. Valid values are [issue incident test_case]. (Introduced in GitLab 13.12)
- labels Sequence[str]
- Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
- milestone str
- The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
- my_
reaction_ stremoji - Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
- not_
assignee_ Sequence[int]ids - Return issues that do not match the assignee id.
- Sequence[int]
- Return issues that do not match the author id.
- not_
labels Sequence[str] - Return issues that do not match the labels.
- not_
milestone str - Return issues that do not match the milestone.
- not_
my_ Sequence[str]reaction_ emojis - Return issues not reacted by the authenticated user by the given emoji.
- order_
by str - Return issues ordered by. Valid values are
created_at
,updated_at
,priority
,due_date
,relative_position
,label_priority
,milestone_due
,popularity
,weight
. Default is created_at - scope str
- Return issues for the given scope. Valid values are
created_by_me
,assigned_to_me
,all
. Defaults to all. - search str
- Search project issues against their title and description
- sort str
- Return issues sorted in asc or desc order. Default is desc
- updated_
after str - Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- updated_
before str - Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- weight int
- Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
- with_
labels_ booldetails - If true, the response returns more details for each label in labels field: :name, :color, :description, :descriptionhtml, :textcolor. Default is false. description_html was introduced in GitLab 12.7
- project String
- The name or id of the project.
- assignee
Id Number - Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
- assignee
Username String - Return issues assigned to the given username. Similar to assigneeid and mutually exclusive with assigneeid. In GitLab CE, the assignee_username array should only contain a single value. Otherwise, an invalid parameter error is returned.
- Number
- Return issues created by the given user id. Combine with scope=all or scope=assignedtome.
- confidential Boolean
- Filter confidential or public issues.
- created
After String - Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- created
Before String - Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- due
Date String - Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, nextmonthandprevioustwo_weeks.
- iids List<Number>
- Return only the issues having the given iid
- issue
Type String - Filter to a given type of issue. Valid values are [issue incident test_case]. (Introduced in GitLab 13.12)
- labels List<String>
- Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
- milestone String
- The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
- my
Reaction StringEmoji - Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
- not
Assignee List<Number>Ids - Return issues that do not match the assignee id.
- List<Number>
- Return issues that do not match the author id.
- not
Labels List<String> - Return issues that do not match the labels.
- not
Milestone String - Return issues that do not match the milestone.
- not
My List<String>Reaction Emojis - Return issues not reacted by the authenticated user by the given emoji.
- order
By String - Return issues ordered by. Valid values are
created_at
,updated_at
,priority
,due_date
,relative_position
,label_priority
,milestone_due
,popularity
,weight
. Default is created_at - scope String
- Return issues for the given scope. Valid values are
created_by_me
,assigned_to_me
,all
. Defaults to all. - search String
- Search project issues against their title and description
- sort String
- Return issues sorted in asc or desc order. Default is desc
- updated
After String - Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- updated
Before String - Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- weight Number
- Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
- with
Labels BooleanDetails - If true, the response returns more details for each label in labels field: :name, :color, :description, :descriptionhtml, :textcolor. Default is false. description_html was introduced in GitLab 12.7
getProjectIssues Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Issues
List<Pulumi.
Git Lab. Outputs. Get Project Issues Issue> - The list of issues returned by the search.
- Project string
- The name or id of the project.
- Assignee
Id int - Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
- Assignee
Username string - Return issues assigned to the given username. Similar to assigneeid and mutually exclusive with assigneeid. In GitLab CE, the assignee_username array should only contain a single value. Otherwise, an invalid parameter error is returned.
- int
- Return issues created by the given user id. Combine with scope=all or scope=assignedtome.
- Confidential bool
- Filter confidential or public issues.
- Created
After string - Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Created
Before string - Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Due
Date string - Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, nextmonthandprevioustwo_weeks.
- Iids List<int>
- Return only the issues having the given iid
- Issue
Type string - Filter to a given type of issue. Valid values are [issue incident test_case]. (Introduced in GitLab 13.12)
- Labels List<string>
- Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
- Milestone string
- The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
- My
Reaction stringEmoji - Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
- Not
Assignee List<int>Ids - Return issues that do not match the assignee id.
- List<int>
- Return issues that do not match the author id.
- Not
Labels List<string> - Return issues that do not match the labels.
- Not
Milestone string - Return issues that do not match the milestone.
- Not
My List<string>Reaction Emojis - Return issues not reacted by the authenticated user by the given emoji.
- Order
By string - Return issues ordered by. Valid values are
created_at
,updated_at
,priority
,due_date
,relative_position
,label_priority
,milestone_due
,popularity
,weight
. Default is created_at - Scope string
- Return issues for the given scope. Valid values are
created_by_me
,assigned_to_me
,all
. Defaults to all. - Search string
- Search project issues against their title and description
- Sort string
- Return issues sorted in asc or desc order. Default is desc
- Updated
After string - Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Updated
Before string - Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Weight int
- Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
- With
Labels boolDetails - If true, the response returns more details for each label in labels field: :name, :color, :description, :descriptionhtml, :textcolor. Default is false. description_html was introduced in GitLab 12.7
- Id string
- The provider-assigned unique ID for this managed resource.
- Issues
[]Get
Project Issues Issue - The list of issues returned by the search.
- Project string
- The name or id of the project.
- Assignee
Id int - Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
- Assignee
Username string - Return issues assigned to the given username. Similar to assigneeid and mutually exclusive with assigneeid. In GitLab CE, the assignee_username array should only contain a single value. Otherwise, an invalid parameter error is returned.
- int
- Return issues created by the given user id. Combine with scope=all or scope=assignedtome.
- Confidential bool
- Filter confidential or public issues.
- Created
After string - Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Created
Before string - Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Due
Date string - Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, nextmonthandprevioustwo_weeks.
- Iids []int
- Return only the issues having the given iid
- Issue
Type string - Filter to a given type of issue. Valid values are [issue incident test_case]. (Introduced in GitLab 13.12)
- Labels []string
- Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
- Milestone string
- The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
- My
Reaction stringEmoji - Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
- Not
Assignee []intIds - Return issues that do not match the assignee id.
- []int
- Return issues that do not match the author id.
- Not
Labels []string - Return issues that do not match the labels.
- Not
Milestone string - Return issues that do not match the milestone.
- Not
My []stringReaction Emojis - Return issues not reacted by the authenticated user by the given emoji.
- Order
By string - Return issues ordered by. Valid values are
created_at
,updated_at
,priority
,due_date
,relative_position
,label_priority
,milestone_due
,popularity
,weight
. Default is created_at - Scope string
- Return issues for the given scope. Valid values are
created_by_me
,assigned_to_me
,all
. Defaults to all. - Search string
- Search project issues against their title and description
- Sort string
- Return issues sorted in asc or desc order. Default is desc
- Updated
After string - Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Updated
Before string - Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- Weight int
- Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
- With
Labels boolDetails - If true, the response returns more details for each label in labels field: :name, :color, :description, :descriptionhtml, :textcolor. Default is false. description_html was introduced in GitLab 12.7
- id String
- The provider-assigned unique ID for this managed resource.
- issues
List<Get
Project Issues Issue> - The list of issues returned by the search.
- project String
- The name or id of the project.
- assignee
Id Integer - Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
- assignee
Username String - Return issues assigned to the given username. Similar to assigneeid and mutually exclusive with assigneeid. In GitLab CE, the assignee_username array should only contain a single value. Otherwise, an invalid parameter error is returned.
- Integer
- Return issues created by the given user id. Combine with scope=all or scope=assignedtome.
- confidential Boolean
- Filter confidential or public issues.
- created
After String - Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- created
Before String - Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- due
Date String - Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, nextmonthandprevioustwo_weeks.
- iids List<Integer>
- Return only the issues having the given iid
- issue
Type String - Filter to a given type of issue. Valid values are [issue incident test_case]. (Introduced in GitLab 13.12)
- labels List<String>
- Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
- milestone String
- The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
- my
Reaction StringEmoji - Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
- not
Assignee List<Integer>Ids - Return issues that do not match the assignee id.
- List<Integer>
- Return issues that do not match the author id.
- not
Labels List<String> - Return issues that do not match the labels.
- not
Milestone String - Return issues that do not match the milestone.
- not
My List<String>Reaction Emojis - Return issues not reacted by the authenticated user by the given emoji.
- order
By String - Return issues ordered by. Valid values are
created_at
,updated_at
,priority
,due_date
,relative_position
,label_priority
,milestone_due
,popularity
,weight
. Default is created_at - scope String
- Return issues for the given scope. Valid values are
created_by_me
,assigned_to_me
,all
. Defaults to all. - search String
- Search project issues against their title and description
- sort String
- Return issues sorted in asc or desc order. Default is desc
- updated
After String - Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- updated
Before String - Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- weight Integer
- Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
- with
Labels BooleanDetails - If true, the response returns more details for each label in labels field: :name, :color, :description, :descriptionhtml, :textcolor. Default is false. description_html was introduced in GitLab 12.7
- id string
- The provider-assigned unique ID for this managed resource.
- issues
Get
Project Issues Issue[] - The list of issues returned by the search.
- project string
- The name or id of the project.
- assignee
Id number - Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
- assignee
Username string - Return issues assigned to the given username. Similar to assigneeid and mutually exclusive with assigneeid. In GitLab CE, the assignee_username array should only contain a single value. Otherwise, an invalid parameter error is returned.
- number
- Return issues created by the given user id. Combine with scope=all or scope=assignedtome.
- confidential boolean
- Filter confidential or public issues.
- created
After string - Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- created
Before string - Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- due
Date string - Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, nextmonthandprevioustwo_weeks.
- iids number[]
- Return only the issues having the given iid
- issue
Type string - Filter to a given type of issue. Valid values are [issue incident test_case]. (Introduced in GitLab 13.12)
- labels string[]
- Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
- milestone string
- The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
- my
Reaction stringEmoji - Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
- not
Assignee number[]Ids - Return issues that do not match the assignee id.
- number[]
- Return issues that do not match the author id.
- not
Labels string[] - Return issues that do not match the labels.
- not
Milestone string - Return issues that do not match the milestone.
- not
My string[]Reaction Emojis - Return issues not reacted by the authenticated user by the given emoji.
- order
By string - Return issues ordered by. Valid values are
created_at
,updated_at
,priority
,due_date
,relative_position
,label_priority
,milestone_due
,popularity
,weight
. Default is created_at - scope string
- Return issues for the given scope. Valid values are
created_by_me
,assigned_to_me
,all
. Defaults to all. - search string
- Search project issues against their title and description
- sort string
- Return issues sorted in asc or desc order. Default is desc
- updated
After string - Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- updated
Before string - Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- weight number
- Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
- with
Labels booleanDetails - If true, the response returns more details for each label in labels field: :name, :color, :description, :descriptionhtml, :textcolor. Default is false. description_html was introduced in GitLab 12.7
- id str
- The provider-assigned unique ID for this managed resource.
- issues
Sequence[Get
Project Issues Issue] - The list of issues returned by the search.
- project str
- The name or id of the project.
- assignee_
id int - Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
- assignee_
username str - Return issues assigned to the given username. Similar to assigneeid and mutually exclusive with assigneeid. In GitLab CE, the assignee_username array should only contain a single value. Otherwise, an invalid parameter error is returned.
- int
- Return issues created by the given user id. Combine with scope=all or scope=assignedtome.
- confidential bool
- Filter confidential or public issues.
- created_
after str - Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- created_
before str - Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- due_
date str - Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, nextmonthandprevioustwo_weeks.
- iids Sequence[int]
- Return only the issues having the given iid
- issue_
type str - Filter to a given type of issue. Valid values are [issue incident test_case]. (Introduced in GitLab 13.12)
- labels Sequence[str]
- Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
- milestone str
- The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
- my_
reaction_ stremoji - Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
- not_
assignee_ Sequence[int]ids - Return issues that do not match the assignee id.
- Sequence[int]
- Return issues that do not match the author id.
- not_
labels Sequence[str] - Return issues that do not match the labels.
- not_
milestone str - Return issues that do not match the milestone.
- not_
my_ Sequence[str]reaction_ emojis - Return issues not reacted by the authenticated user by the given emoji.
- order_
by str - Return issues ordered by. Valid values are
created_at
,updated_at
,priority
,due_date
,relative_position
,label_priority
,milestone_due
,popularity
,weight
. Default is created_at - scope str
- Return issues for the given scope. Valid values are
created_by_me
,assigned_to_me
,all
. Defaults to all. - search str
- Search project issues against their title and description
- sort str
- Return issues sorted in asc or desc order. Default is desc
- updated_
after str - Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- updated_
before str - Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- weight int
- Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
- with_
labels_ booldetails - If true, the response returns more details for each label in labels field: :name, :color, :description, :descriptionhtml, :textcolor. Default is false. description_html was introduced in GitLab 12.7
- id String
- The provider-assigned unique ID for this managed resource.
- issues List<Property Map>
- The list of issues returned by the search.
- project String
- The name or id of the project.
- assignee
Id Number - Return issues assigned to the given user id. Mutually exclusive with assignee_username. None returns unassigned issues. Any returns issues with an assignee.
- assignee
Username String - Return issues assigned to the given username. Similar to assigneeid and mutually exclusive with assigneeid. In GitLab CE, the assignee_username array should only contain a single value. Otherwise, an invalid parameter error is returned.
- Number
- Return issues created by the given user id. Combine with scope=all or scope=assignedtome.
- confidential Boolean
- Filter confidential or public issues.
- created
After String - Return issues created on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- created
Before String - Return issues created on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- due
Date String - Return issues that have no due date, are overdue, or whose due date is this week, this month, or between two weeks ago and next month. Accepts: 0 (no due date), any, today, tomorrow, overdue, week, month, nextmonthandprevioustwo_weeks.
- iids List<Number>
- Return only the issues having the given iid
- issue
Type String - Filter to a given type of issue. Valid values are [issue incident test_case]. (Introduced in GitLab 13.12)
- labels List<String>
- Return issues with labels. Issues must have all labels to be returned. None lists all issues with no labels. Any lists all issues with at least one label. No+Label (Deprecated) lists all issues with no labels. Predefined names are case-insensitive.
- milestone String
- The milestone title. None lists all issues with no milestone. Any lists all issues that have an assigned milestone.
- my
Reaction StringEmoji - Return issues reacted by the authenticated user by the given emoji. None returns issues not given a reaction. Any returns issues given at least one reaction.
- not
Assignee List<Number>Ids - Return issues that do not match the assignee id.
- List<Number>
- Return issues that do not match the author id.
- not
Labels List<String> - Return issues that do not match the labels.
- not
Milestone String - Return issues that do not match the milestone.
- not
My List<String>Reaction Emojis - Return issues not reacted by the authenticated user by the given emoji.
- order
By String - Return issues ordered by. Valid values are
created_at
,updated_at
,priority
,due_date
,relative_position
,label_priority
,milestone_due
,popularity
,weight
. Default is created_at - scope String
- Return issues for the given scope. Valid values are
created_by_me
,assigned_to_me
,all
. Defaults to all. - search String
- Search project issues against their title and description
- sort String
- Return issues sorted in asc or desc order. Default is desc
- updated
After String - Return issues updated on or after the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- updated
Before String - Return issues updated on or before the given time. Expected in ISO 8601 format (2019-03-15T08:00:00Z)
- weight Number
- Return issues with the specified weight. None returns issues with no weight assigned. Any returns issues with a weight assigned.
- with
Labels BooleanDetails - If true, the response returns more details for each label in labels field: :name, :color, :description, :descriptionhtml, :textcolor. Default is false. description_html was introduced in GitLab 12.7
Supporting Types
GetProjectIssuesIssue
- Assignee
Ids List<int> - The IDs of the users to assign the issue to.
- int
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - Closed
At string - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- Closed
By intUser Id - The ID of the user that closed the issue. Use
gitlab.User
data source to get more information about the user. - Confidential bool
- Set an issue to be confidential.
- Created
At string - When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
- Description string
- The description of an issue. Limited to 1,048,576 characters.
- Discussion
Locked bool - Whether the issue is locked for discussions or not.
- Discussion
To stringResolve - The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge_request_to_resolve_discussions_of.
- Downvotes int
- The number of downvotes the issue has received.
- Due
Date string - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- Epic
Id int - ID of the epic to add the issue to. Valid values are greater than or equal to 0.
- Epic
Issue intId - The ID of the epic issue.
- External
Id string - The external ID of the issue.
- Human
Time stringEstimate - The human-readable time estimate of the issue.
- Human
Total stringTime Spent - The human-readable total time spent of the issue.
- Iid int
- The internal ID of the project's issue.
- Issue
Id int - The instance-wide ID of the issue.
- Issue
Link intId - The ID of the issue link.
- Issue
Type string - The type of issue. Valid values are:
issue
,incident
,test_case
. - Labels List<string>
- The labels of an issue.
- Links Dictionary<string, string>
- The links of the issue.
- Merge
Request intTo Resolve Discussions Of - The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
- Merge
Requests intCount - The number of merge requests associated with the issue.
- Milestone
Id int - The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
- Moved
To intId - The ID of the issue that was moved to.
- Project string
- The name or ID of the project.
- References Dictionary<string, string>
- The references of the issue.
- State string
- The state of the issue. Valid values are:
opened
,closed
. - Subscribed bool
- Whether the authenticated user is subscribed to the issue or not.
- Task
Completion List<Pulumi.Statuses Git Lab. Inputs. Get Project Issues Issue Task Completion Status> - The task completion status. It's always a one element list.
- Time
Estimate int - The time estimate of the issue.
- Title string
- The title of the issue.
- Total
Time intSpent - The total time spent of the issue.
- Updated
At string - When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- Upvotes int
- The number of upvotes the issue has received.
- User
Notes intCount - The number of user notes on the issue.
- Web
Url string - The web URL of the issue.
- Weight int
- The weight of the issue. Valid values are greater than or equal to 0.
- Assignee
Ids []int - The IDs of the users to assign the issue to.
- int
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - Closed
At string - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- Closed
By intUser Id - The ID of the user that closed the issue. Use
gitlab.User
data source to get more information about the user. - Confidential bool
- Set an issue to be confidential.
- Created
At string - When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
- Description string
- The description of an issue. Limited to 1,048,576 characters.
- Discussion
Locked bool - Whether the issue is locked for discussions or not.
- Discussion
To stringResolve - The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge_request_to_resolve_discussions_of.
- Downvotes int
- The number of downvotes the issue has received.
- Due
Date string - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- Epic
Id int - ID of the epic to add the issue to. Valid values are greater than or equal to 0.
- Epic
Issue intId - The ID of the epic issue.
- External
Id string - The external ID of the issue.
- Human
Time stringEstimate - The human-readable time estimate of the issue.
- Human
Total stringTime Spent - The human-readable total time spent of the issue.
- Iid int
- The internal ID of the project's issue.
- Issue
Id int - The instance-wide ID of the issue.
- Issue
Link intId - The ID of the issue link.
- Issue
Type string - The type of issue. Valid values are:
issue
,incident
,test_case
. - Labels []string
- The labels of an issue.
- Links map[string]string
- The links of the issue.
- Merge
Request intTo Resolve Discussions Of - The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
- Merge
Requests intCount - The number of merge requests associated with the issue.
- Milestone
Id int - The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
- Moved
To intId - The ID of the issue that was moved to.
- Project string
- The name or ID of the project.
- References map[string]string
- The references of the issue.
- State string
- The state of the issue. Valid values are:
opened
,closed
. - Subscribed bool
- Whether the authenticated user is subscribed to the issue or not.
- Task
Completion []GetStatuses Project Issues Issue Task Completion Status - The task completion status. It's always a one element list.
- Time
Estimate int - The time estimate of the issue.
- Title string
- The title of the issue.
- Total
Time intSpent - The total time spent of the issue.
- Updated
At string - When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- Upvotes int
- The number of upvotes the issue has received.
- User
Notes intCount - The number of user notes on the issue.
- Web
Url string - The web URL of the issue.
- Weight int
- The weight of the issue. Valid values are greater than or equal to 0.
- assignee
Ids List<Integer> - The IDs of the users to assign the issue to.
- Integer
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - closed
At String - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- closed
By IntegerUser Id - The ID of the user that closed the issue. Use
gitlab.User
data source to get more information about the user. - confidential Boolean
- Set an issue to be confidential.
- created
At String - When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
- description String
- The description of an issue. Limited to 1,048,576 characters.
- discussion
Locked Boolean - Whether the issue is locked for discussions or not.
- discussion
To StringResolve - The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge_request_to_resolve_discussions_of.
- downvotes Integer
- The number of downvotes the issue has received.
- due
Date String - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- epic
Id Integer - ID of the epic to add the issue to. Valid values are greater than or equal to 0.
- epic
Issue IntegerId - The ID of the epic issue.
- external
Id String - The external ID of the issue.
- human
Time StringEstimate - The human-readable time estimate of the issue.
- human
Total StringTime Spent - The human-readable total time spent of the issue.
- iid Integer
- The internal ID of the project's issue.
- issue
Id Integer - The instance-wide ID of the issue.
- issue
Link IntegerId - The ID of the issue link.
- issue
Type String - The type of issue. Valid values are:
issue
,incident
,test_case
. - labels List<String>
- The labels of an issue.
- links Map<String,String>
- The links of the issue.
- merge
Request IntegerTo Resolve Discussions Of - The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
- merge
Requests IntegerCount - The number of merge requests associated with the issue.
- milestone
Id Integer - The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
- moved
To IntegerId - The ID of the issue that was moved to.
- project String
- The name or ID of the project.
- references Map<String,String>
- The references of the issue.
- state String
- The state of the issue. Valid values are:
opened
,closed
. - subscribed Boolean
- Whether the authenticated user is subscribed to the issue or not.
- task
Completion List<GetStatuses Project Issues Issue Task Completion Status> - The task completion status. It's always a one element list.
- time
Estimate Integer - The time estimate of the issue.
- title String
- The title of the issue.
- total
Time IntegerSpent - The total time spent of the issue.
- updated
At String - When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- upvotes Integer
- The number of upvotes the issue has received.
- user
Notes IntegerCount - The number of user notes on the issue.
- web
Url String - The web URL of the issue.
- weight Integer
- The weight of the issue. Valid values are greater than or equal to 0.
- assignee
Ids number[] - The IDs of the users to assign the issue to.
- number
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - closed
At string - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- closed
By numberUser Id - The ID of the user that closed the issue. Use
gitlab.User
data source to get more information about the user. - confidential boolean
- Set an issue to be confidential.
- created
At string - When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
- description string
- The description of an issue. Limited to 1,048,576 characters.
- discussion
Locked boolean - Whether the issue is locked for discussions or not.
- discussion
To stringResolve - The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge_request_to_resolve_discussions_of.
- downvotes number
- The number of downvotes the issue has received.
- due
Date string - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- epic
Id number - ID of the epic to add the issue to. Valid values are greater than or equal to 0.
- epic
Issue numberId - The ID of the epic issue.
- external
Id string - The external ID of the issue.
- human
Time stringEstimate - The human-readable time estimate of the issue.
- human
Total stringTime Spent - The human-readable total time spent of the issue.
- iid number
- The internal ID of the project's issue.
- issue
Id number - The instance-wide ID of the issue.
- issue
Link numberId - The ID of the issue link.
- issue
Type string - The type of issue. Valid values are:
issue
,incident
,test_case
. - labels string[]
- The labels of an issue.
- links {[key: string]: string}
- The links of the issue.
- merge
Request numberTo Resolve Discussions Of - The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
- merge
Requests numberCount - The number of merge requests associated with the issue.
- milestone
Id number - The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
- moved
To numberId - The ID of the issue that was moved to.
- project string
- The name or ID of the project.
- references {[key: string]: string}
- The references of the issue.
- state string
- The state of the issue. Valid values are:
opened
,closed
. - subscribed boolean
- Whether the authenticated user is subscribed to the issue or not.
- task
Completion GetStatuses Project Issues Issue Task Completion Status[] - The task completion status. It's always a one element list.
- time
Estimate number - The time estimate of the issue.
- title string
- The title of the issue.
- total
Time numberSpent - The total time spent of the issue.
- updated
At string - When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- upvotes number
- The number of upvotes the issue has received.
- user
Notes numberCount - The number of user notes on the issue.
- web
Url string - The web URL of the issue.
- weight number
- The weight of the issue. Valid values are greater than or equal to 0.
- assignee_
ids Sequence[int] - The IDs of the users to assign the issue to.
- int
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - closed_
at str - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- closed_
by_ intuser_ id - The ID of the user that closed the issue. Use
gitlab.User
data source to get more information about the user. - confidential bool
- Set an issue to be confidential.
- created_
at str - When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
- description str
- The description of an issue. Limited to 1,048,576 characters.
- discussion_
locked bool - Whether the issue is locked for discussions or not.
- discussion_
to_ strresolve - The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge_request_to_resolve_discussions_of.
- downvotes int
- The number of downvotes the issue has received.
- due_
date str - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- epic_
id int - ID of the epic to add the issue to. Valid values are greater than or equal to 0.
- epic_
issue_ intid - The ID of the epic issue.
- external_
id str - The external ID of the issue.
- human_
time_ strestimate - The human-readable time estimate of the issue.
- human_
total_ strtime_ spent - The human-readable total time spent of the issue.
- iid int
- The internal ID of the project's issue.
- issue_
id int - The instance-wide ID of the issue.
- issue_
link_ intid - The ID of the issue link.
- issue_
type str - The type of issue. Valid values are:
issue
,incident
,test_case
. - labels Sequence[str]
- The labels of an issue.
- links Mapping[str, str]
- The links of the issue.
- merge_
request_ intto_ resolve_ discussions_ of - The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
- merge_
requests_ intcount - The number of merge requests associated with the issue.
- milestone_
id int - The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
- moved_
to_ intid - The ID of the issue that was moved to.
- project str
- The name or ID of the project.
- references Mapping[str, str]
- The references of the issue.
- state str
- The state of the issue. Valid values are:
opened
,closed
. - subscribed bool
- Whether the authenticated user is subscribed to the issue or not.
- task_
completion_ Sequence[Getstatuses Project Issues Issue Task Completion Status] - The task completion status. It's always a one element list.
- time_
estimate int - The time estimate of the issue.
- title str
- The title of the issue.
- total_
time_ intspent - The total time spent of the issue.
- updated_
at str - When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- upvotes int
- The number of upvotes the issue has received.
- user_
notes_ intcount - The number of user notes on the issue.
- web_
url str - The web URL of the issue.
- weight int
- The weight of the issue. Valid values are greater than or equal to 0.
- assignee
Ids List<Number> - The IDs of the users to assign the issue to.
- Number
- The ID of the author of the issue. Use
gitlab.User
data source to get more information about the user. - closed
At String - When the issue was closed. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- closed
By NumberUser Id - The ID of the user that closed the issue. Use
gitlab.User
data source to get more information about the user. - confidential Boolean
- Set an issue to be confidential.
- created
At String - When the issue was created. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z. Requires administrator or project/group owner rights.
- description String
- The description of an issue. Limited to 1,048,576 characters.
- discussion
Locked Boolean - Whether the issue is locked for discussions or not.
- discussion
To StringResolve - The ID of a discussion to resolve. This fills out the issue with a default description and mark the discussion as resolved. Use in combination with merge_request_to_resolve_discussions_of.
- downvotes Number
- The number of downvotes the issue has received.
- due
Date String - The due date. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
- epic
Id Number - ID of the epic to add the issue to. Valid values are greater than or equal to 0.
- epic
Issue NumberId - The ID of the epic issue.
- external
Id String - The external ID of the issue.
- human
Time StringEstimate - The human-readable time estimate of the issue.
- human
Total StringTime Spent - The human-readable total time spent of the issue.
- iid Number
- The internal ID of the project's issue.
- issue
Id Number - The instance-wide ID of the issue.
- issue
Link NumberId - The ID of the issue link.
- issue
Type String - The type of issue. Valid values are:
issue
,incident
,test_case
. - labels List<String>
- The labels of an issue.
- links Map<String>
- The links of the issue.
- merge
Request NumberTo Resolve Discussions Of - The IID of a merge request in which to resolve all issues. This fills out the issue with a default description and mark all discussions as resolved. When passing a description or title, these values take precedence over the default values.
- merge
Requests NumberCount - The number of merge requests associated with the issue.
- milestone
Id Number - The global ID of a milestone to assign issue. To find the milestone_id associated with a milestone, view an issue with the milestone assigned and use the API to retrieve the issue's details.
- moved
To NumberId - The ID of the issue that was moved to.
- project String
- The name or ID of the project.
- references Map<String>
- The references of the issue.
- state String
- The state of the issue. Valid values are:
opened
,closed
. - subscribed Boolean
- Whether the authenticated user is subscribed to the issue or not.
- task
Completion List<Property Map>Statuses - The task completion status. It's always a one element list.
- time
Estimate Number - The time estimate of the issue.
- title String
- The title of the issue.
- total
Time NumberSpent - The total time spent of the issue.
- updated
At String - When the issue was updated. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
- upvotes Number
- The number of upvotes the issue has received.
- user
Notes NumberCount - The number of user notes on the issue.
- web
Url String - The web URL of the issue.
- weight Number
- The weight of the issue. Valid values are greater than or equal to 0.
GetProjectIssuesIssueTaskCompletionStatus
- Completed
Count int - The number of tasks that are completed.
- Count int
- The number of tasks.
- Completed
Count int - The number of tasks that are completed.
- Count int
- The number of tasks.
- completed
Count Integer - The number of tasks that are completed.
- count Integer
- The number of tasks.
- completed
Count number - The number of tasks that are completed.
- count number
- The number of tasks.
- completed_
count int - The number of tasks that are completed.
- count int
- The number of tasks.
- completed
Count Number - The number of tasks that are completed.
- count Number
- The number of tasks.
Package Details
- Repository
- GitLab pulumi/pulumi-gitlab
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gitlab
Terraform Provider.