CreateComment

yaml
type: "io.kestra.plugin.jira.issues.CreateComment"

Comment on a jira ticket based on workflow execution status

Examples

Comment on a jira ticket on a failed flow execution

yaml
id: myflow
namespace: company.myteam

tasks:
  - id: create_comment_on_a_ticket
    type: io.kestra.plugin.jira.issues.CreateComment
    baseUrl: your-domain.atlassian.net
    username: [email protected]
    password: "{{ secret('jira_api_token') }}"
    projectKey: project_key
    issueIdOrKey: "TID-53"
    body: "This ticket is not moving, do we need to outsource this!"

Properties

baseUrl

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

Atlassian URL

body

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

The comment's content

issueIdOrKey

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Min length: 1

Jira ticket key

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?