Skip to main content

Jira - Create Ticket

Overview​

Triggers the execution to create a ticket in Jira.

Variables​

NameReferenceTypeRequiredDefaultOptionsDescription
Access TokenJIRA_ACCESS_TOKENPasswordβœ…--https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/
EmailJIRA_EMAILAlphanumericβœ…--Email that is associated with the api token
DomainJIRA_DOMAINAlphanumericβœ…--The sub-domain of your Jira instance. For example if your jira instance url is https://shipyard.atlassian.net/ this value would be shipyard
Project KeyJIRA_PROJECT_KEYAlphanumericβœ…--The unique identifier for the Jira project where the ticket will be created.Normally 3-4 letters long
Parent Ticket KeyJIRA_PARENT_TICKET_KEYAlphanumericβž–--The key of the parent ticket if you want to create a subtask under an existing ticket.
SummaryJIRA_SUMMARYAlphanumericβœ…--A short summary or title describing the issue or task of the ticket.
DescriptionJIRA_DESCRIPTIONAlphanumericβž–--A detailed description of the ticket, providing additional context or information.
Issue TypeJIRA_ISSUE_TYPEAlphanumericβœ…Task-The type of the ticket, such as bug, task, improvement, or story
AssigneeJIRA_ASSIGNEEAlphanumericβž–--Email address of the User you want to assign the ticket to. If you would like for this to be the default assignee for the project use -1
LabelsJIRA_LABELSAlphanumericβž–--Labels to tag and categorize the ticket. Multiple labels can be assigned by separating them with commas.
ComponentsJIRA_COMPONENTSAlphanumericβž–--Components of the Jira project to associate with the ticket.
Due DateJIRA_DUE_DATEAlphanumericβž–--The due date you wish to assign the ticket
PriorityJIRA_PRIORITYAlphanumericβž–--The priority level of the ticket, indicating its importance or urgency.

YAML​

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

source:
blueprint: Jira - Create Ticket
inputs:
JIRA_ACCESS_TOKEN: null ## REQUIRED
JIRA_EMAIL: null ## REQUIRED
JIRA_DOMAIN: null ## REQUIRED
JIRA_PROJECT_KEY: null ## REQUIRED
JIRA_PARENT_TICKET_KEY: null
JIRA_SUMMARY: null ## REQUIRED
JIRA_DESCRIPTION: null
JIRA_ISSUE_TYPE: Task ## REQUIRED
JIRA_ASSIGNEE: null
JIRA_LABELS: null
JIRA_COMPONENTS: null
JIRA_DUE_DATE: null
JIRA_PRIORITY: null
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '0'