Skip to main content

Create Jira Issue

This Playbook is part of the Atlassian Jira Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

Create Jira issue allows you to open new issues. When creating the issue, you can decide to update based on on the issue's state, which will wait for the issue to resolve or close with StatePolling. Alternatively, you can select to mirror the Jira issue and incident fields. To apply either of these options, set the SyncTicket value in the playbook inputs to one of the following options:

  1. StatePolling
  2. Mirror
  3. Leave Blank to use none

When creating Jira issues through XSOAR, using the mirroring function, make sure that you exclude those issues when fetching incidents. To exclude these issues, tag the relevant issues with a dedicated label and exclude that label from the JQL query (Labels!=).

Dependencies#

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks#

  • Mirror Jira Ticket
  • Jira Ticket State Polling

Integrations#

  • JiraV2
  • JiraV3

Scripts#

  • IsIntegrationAvailable

Commands#

  • jira-get-issue
  • jira-create-issue

Playbook Inputs#


NameDescriptionDefault ValueRequired
SummarySet the summary of the ticket.Required
DescriptionSet the description of the ticket.Optional
ProjectKeyJira Project KeyRequired
IssueTypeNameTaskNameRequired
SyncTicketSet the value of the desired sync method with Jira Issue. you can choose one of three options:
1. StatePolling
2. Mirror
3. Blank for none

GenericPolling polls for the state of the ticket and runs until the ticket state is either resolved or closed.

Mirror - You can use the Mirror option to perform a full sync with the Jira Ticket. The ticket data is synced automatically between Jira and Cortex xSOAR with the Jira mirror feature.
If this option is selected, FieldPolling is true by default.
Optional
PollingIntervalSet interval time for the polling to run
(In minutes)
Optional
PollingTimeoutSet the amount of time to poll the status of the ticket before declaring a timeout and resuming the playbook.
(In minutes)
Optional
AdditionalPollingCommandNameIn this use case, Additional polling commands are relevant when using StatePolling, and there is more than one Jira instance. It will specify the polling command to use a specific instance to run on.
If so, please add "Using" to the value.
The playbook will then take the instance name as the instance to use.
Optional
InstanceNameSet the Jira Instance that will be used for mirroring/running polling commands.
Optional
MirrorDirectionSet the mirror direction, should be one of the following:
1. In
2. Out
3. Both
BothOptional
MirrorTagsSet tags for mirror comments and files to Jira.
As defined in the instance settings, by default it will be comment for comments mirroring and attachment for attachments mirroring.
comment,attachmentOptional
FieldPollingSet the value to true or false to determine if the playbook will execute the FieldPolling sub playbook.
This is useful when a playbook needs to wait for the Jira ticket to be resolved before continuing the parent playbook.
FieldPolling will run until the ticket state is either resolved or closed
Optional
IssueLabelAdd labels to the issue.
Optional

Playbook Outputs#


There are no outputs for this playbook.

Playbook Image#


Create Jira Issue