Create a jira ticket based on workflow execution status.
type: "io.kestra.plugin.jira.issues.Create"
Create a jira ticket on a failed flow execution using basic authentication.
id: jira_flow
namespace: company.myteam
tasks:
- id: create_issue
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
issuetype: Task
Create a jira ticket on a failed flow execution using OAUTH2 access token authentication.
id: jira_flow
namespace: company.myteam
tasks:
- id: create_issue
type: io.kestra.plugin.jira.issues.Create
baseUrl: your-domain.atlassian.net
accessToken: "{{ secret('your_jira_access_token') }}"
projectKey: myproject
summary: "Workflow failed"
description: "{{ execution.id }} has failed on {{ taskrun.startDate }} See the link below for more details"
labels:
- bug
- workflow
issuetype: Task
Atlassian URL
Atlassian project's key
Atlassian OAuth access token
(Required for OAuth authorization)
Description of the ticket to be created
Issue type of the Jira ticket
Examples: Story, Task, Bug (default value is Task)
Labels associated with opened ticket
Atlassian password or API token
(Required for basic & API token authorization)
Payload
Summary of the ticket
Atlassian Username
(Required for basic & API token authorization)