Class ServiceJira
This resource allows you to manage Jira integration.
Example Usage
using Pulumi;
using GitLab = Pulumi.GitLab;
class MyStack : Stack
{
public MyStack()
{
var awesomeProject = new GitLab.Project("awesomeProject", new GitLab.ProjectArgs
{
Description = "My awesome project.",
VisibilityLevel = "public",
});
var jira = new GitLab.ServiceJira("jira", new GitLab.ServiceJiraArgs
{
Password = "mypass",
Project = awesomeProject.Id,
Url = "https://jira.example.com",
Username = "user",
});
}
}
Inherited Members
Namespace: Pulumi.GitLab
Assembly: Pulumi.GitLab.dll
Syntax
public class ServiceJira : CustomResource
Constructors
View SourceServiceJira(String, ServiceJiraArgs, CustomResourceOptions)
Create a ServiceJira resource with the given unique name, arguments, and options.
Declaration
public ServiceJira(string name, ServiceJiraArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ServiceJiraArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceActive
Declaration
public Output<bool> Active { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
CommentOnEventEnabled
Enable comments inside Jira issues on each GitLab event (commit / merge request)
Declaration
public Output<bool> CommentOnEventEnabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
CommitEvents
Enable notifications for commit events
Declaration
public Output<bool> CommitEvents { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
CreatedAt
Declaration
public Output<string> CreatedAt { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
JiraIssueTransitionId
The ID of a transition that moves issues to a closed state. You can find this number under the JIRA workflow administration (Administration > Issues > Workflows) by selecting View under Operations of the desired workflow of your project. By default, this ID is set to 2.
Declaration
public Output<string> JiraIssueTransitionId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MergeRequestsEvents
Enable notifications for merge request events
Declaration
public Output<bool> MergeRequestsEvents { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
Password
The password of the user created to be used with GitLab/JIRA.
Declaration
public Output<string> Password { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Project
ID of the project you want to activate integration on.
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProjectKey
The short identifier for your JIRA project, all uppercase, e.g., PROJ.
Declaration
public Output<string> ProjectKey { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Title
Declaration
public Output<string> Title { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UpdatedAt
Declaration
public Output<string> UpdatedAt { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Url
The URL to the JIRA project which is being linked to this GitLab project. For example, https://jira.example.com.
Declaration
public Output<string> Url { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Username
The username of the user created to be used with GitLab/JIRA.
Declaration
public Output<string> Username { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ServiceJiraState, CustomResourceOptions)
Get an existing ServiceJira resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ServiceJira Get(string name, Input<string> id, ServiceJiraState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ServiceJiraState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ServiceJira |