Skip to main content

JiraCreateIssue-example

This Script is part of the Atlassian Jira Pack.#

This script is used to simplify the process of creating a new Issue in Jira. You can specify custom fields using the customFields argument.

Script Data#


NameDescription
Script Typepython3
Tagsjira, example
Cortex XSOAR Version5.0.0

Dependencies#


This script uses the following commands and scripts.

  • jira-create-issue

Used In#


This script is used in the following playbooks and scripts.

  • Indeni Demo

Inputs#


Argument NameDescription
summarySummary of the issue, a mandatory field
projectKeyProject key to associate the issue
issueTypeNameChoose issue type by name - e.g. Problem
issueTypeIdChoose issue type by its numeric ID
projectNameProject name to associate the issue
descriptionIssue description
labelscomma separated list of labels
prioritypriority name, e.g. High/Medium.
dueDateDue date for the issue, in format YYYY-MM-DD
assigneeassignee name
reporterreporter name
parentIssueKeyParent issue key if you create a sub-task
parentIssueIdParent issue ID if you create a sub-task
customFieldsComma-separated custom field keys and values to include in the created incident, e.g. `customfield_10101=foo,customfield_10102=bar`

Outputs#


PathDescriptionType
Ticket.IdId of ticketUnknown
Ticket.KeyKey of ticketUnknown