Create

yaml
type: "io.kestra.plugin.github.issues.Create"

Create a GitHub issue

If no authentication is provided, anonymous authentication will be used

Examples

Create an issue in a repository

yaml
id: "create"
type: "io.kestra.plugin.github.issues.Create"
id: create
type: io.kestra.plugin.github.issues.Create
jwtToken: your_github_jwt_token
repository: kestra-io/kestra
title: Workflow failed
body: "{{ execution.id }} has failed on {{ taskrun.startDate }}. See the link below for more details"
labels:
  - bug
  - workflow

Create an issue in a repository

yaml
id: "create"
type: "io.kestra.plugin.github.issues.Create"
id: create
type: io.kestra.plugin.github.issues.Create
login: your_github_login
oauthToken: your_github_token
repository: kestra-io/kestra
title: Workflow failed
body: "{{ execution.id }} has failed on {{ taskrun.startDate }}. See the link below for more details"
labels:
  - bug
  - workflow

Create an issue in a repository

yaml
id: "create"
type: "io.kestra.plugin.github.issues.Create"
id: create
type: io.kestra.plugin.github.issues.Create
oauthToken: your_github_token
repository: kestra-io/kestra
title: Workflow failed
body: "{{ execution.id }} has failed on {{ taskrun.startDate }}. See the link below for more details"
labels:
  - bug
  - workflow
assignees:
  - MyDeveloperUserName
  - MyDesignerUserName

Properties

assignees

  • Type: array
  • SubType: string
  • Dynamic: ✔️
  • Required:

Ticket assignee

List of unique names of assignees

body

  • Type: string
  • Dynamic: ✔️
  • Required:

Ticket body

jwtToken

  • Type: string
  • Dynamic: ✔️
  • Required:

GitHub JWT token

Does not requires additional fields to log-in

labels

  • Type: array
  • SubType: string
  • Dynamic: ✔️
  • Required:

Ticket label

List of labels for ticket

login

  • Type: string
  • Dynamic: ✔️
  • Required:

GitHub login

Requires additional field: oauthToken, to log-in

oauthToken

  • Type: string
  • Dynamic: ✔️
  • Required:

GitHub oauthToken

GitHub Personal Access Token. In addition, can be used with login or by its own

repository

  • Type: string
  • Dynamic: ✔️
  • Required:

GitHub repository

Repository where issue/ticket should be created. It's a string of Username + / + Repository name

title

  • Type: string
  • Dynamic: ✔️
  • Required:

Ticket title

Outputs

issueNumber

  • Type: integer
  • Dynamic:
  • Required:

issueUrl

  • Type: URL
  • Dynamic:
  • Required:

Definitions

java.net.URL

Properties

authority
  • Type: string
  • Dynamic:
  • Required:
file
  • Type: string
  • Dynamic:
  • Required:
host
  • Type: string
  • Dynamic:
  • Required:
port
  • Type: integer
  • Dynamic:
  • Required:
protocol
  • Type: string
  • Dynamic:
  • Required:
ref
  • Type: string
  • Dynamic:
  • Required:

Was this page helpful?