Create a Jira ticket based on a 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.team
tasks:
- id: create_issue
type: io.kestra.plugin.jira.issues.Create
baseUrl: your-domain.atlassian.net
username: your_email@example.com
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
issueTypeId: "10001"
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
issueTypeId: "10001"
YES1Atlassian URL
YES1Atlassian project's key
YESAtlassian OAuth access token
(Required for OAuth authorization)
YESDescription of the ticket to be created
YESIssue type ID of the Jira ticket
The issue type ID can be found using this URL : https://your-domain.atlassian.net/rest/api/2/issue/createmeta.
YESLabels associated with opened ticket
NOThe HTTP client configuration.
YESAtlassian password or API token
(Required for basic & API token authorization)
YESPayload
YESSummary of the ticket
YESAtlassian Username
(Required for basic & API token authorization)
YESdurationThe time allowed to establish a connection to the server before failing.
YESPT5MdurationThe time allowed for a read connection to remain idle before closing it.
NOYESThe password for HTTP basic authentication.
YESThe username for HTTP basic authentication.
NOfalseIf true, allow a failed response code (response code >= 400)
YESList of response code allowed for this request
NOThe authentification to use.
NOThe password for HTTP basic authentication. Deprecated, use auth property with a BasicAuthConfiguration instance instead.
NOThe username for HTTP basic authentication. Deprecated, use auth property with a BasicAuthConfiguration instance instead.
NOdurationThe time allowed to establish a connection to the server before failing.
NOdurationThe time an idle connection can remain in the client's connection pool before being closed.
NOUTF-8The default charset for the request.
NOtrueWhether redirects should be followed automatically.
NOALLTRACEDEBUGINFOWARNERROROFFNOT_SPECIFIEDThe log level for the HTTP client.
NOREQUEST_HEADERSREQUEST_BODYRESPONSE_HEADERSRESPONSE_BODYThe enabled log.
NOThe maximum content length of the response.
NOThe proxy configuration.
NOThe address of the proxy server.
NOThe password for proxy authentication.
NOThe port of the proxy server.
NODIRECTHTTPSOCKSThe type of proxy to use.
NOThe username for proxy authentication.
NOdurationThe time allowed for a read connection to remain idle before closing it.
NOdurationThe maximum time allowed for reading data from the server before failing.
NOThe SSL request options
NOThe timeout configuration.
YESThe address of the proxy server.
YESThe password for proxy authentication.
NOThe port of the proxy server.
YESDIRECTDIRECTHTTPSOCKSThe type of proxy to use.
YESThe username for proxy authentication.
NOWhether to disable checking of the remote SSL certificate.
Only applies if no trust store is configured. Note: This makes the SSL connection insecure and should only be used for testing. If you are using a self-signed certificate, set up a trust store instead.
NOYESThe token for bearer token authentication.