Skip to main content

Jira - Add Comment To Ticket

Overview​

Adds a comment to a Jira ticket

Variables​

NameReferenceTypeRequiredDefaultOptionsDescription
Ticket KeyJIRA_TICKET_KEYAlphanumericβœ…--You can usually find the ticket key in the ticket's URL or in the ticket's title. It typically consists of uppercase letters, followed by a hyphen, and then a numerical value. For example, in the ticket URL "https://jira.example.com/browse/PROJ-123", the ticket key is "PROJ-123".
CommentJIRA_COMMENTAlphanumericβœ…--This text will be posted as a comment to the Jira ticket
Access TokenJIRA_ACCESS_TOKENPasswordβœ…--To generate a access token go to https://id.atlassian.com/manage-profile/security/api-tokens
Email AddressJIRA_EMAIL_ADDRESSAlphanumericβœ…--The email address associated with the Access Token
DomainJIRA_DOMAINAlphanumericβœ…--The subdomain of the jira instance for example it would be shipyard if the url is https://shipyard.atlassian.net/jira/software

YAML​

Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.

source:
blueprint: Jira - Add Comment To Ticket
inputs:
JIRA_TICKET_KEY: null ## REQUIRED
JIRA_COMMENT: null ## REQUIRED
JIRA_ACCESS_TOKEN: null ## REQUIRED
JIRA_EMAIL_ADDRESS: null ## REQUIRED
JIRA_DOMAIN: null ## REQUIRED
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '0'