Create
yaml
type: "io.kestra.plugin.jira.issues.Create"
Create a jira ticket based on workflow execution status
Examples
Create a jira ticket on a failed flow execution
yaml
id: myflow
namespace: company.myteam
tasks:
- id: hello
type: io.kestra.plugin.jira.issues.Create
baseUrl: your-domain.atlassian.net
username: [email protected]
password: "{{ secret('your_jira_api_token') }}"
projectKey: myproject
summary: "Workflow failed"
description: "{{ execution.id }} has failed on {{ taskrun.startDate }} See the link below for more details"
labels:
- bug
- workflow
Properties
baseUrl
- Type: string
- Dynamic: ✔️
- Required: ✔️
- Min length:
1
Atlassian URL
password
- Type: string
- Dynamic: ✔️
- Required: ✔️
- Min length:
1
Atlassian password
projectKey
- Type: string
- Dynamic: ✔️
- Required: ✔️
- Min length:
1
Atlassian project's key
username
- Type: string
- Dynamic: ✔️
- Required: ✔️
- Min length:
1
Atlassian Username
description
- Type: string
- Dynamic: ✔️
- Required: ❌
Description of the ticket to be created
labels
- Type: array
- SubType: string
- Dynamic: ✔️
- Required: ❌
Labels associated with opened ticket
payload
- Type: string
- Dynamic: ✔️
- Required: ❌
summary
- Type: string
- Dynamic: ✔️
- Required: ❌
Summary of the ticket
Outputs
Definitions
Was this page helpful?