# Jira

PlexTrac offers a robust integration with Jira Cloud and Jira Data Center, enabling seamless collaboration between red and blue teams without the need to switch tools. This integration can be configured either for the entire tenancy or customized for specific clients.&#x20;

The PlexTrac-Jira integration supports various synchronization options:&#x20;

* Unidirectional from PlexTrac to Jira
* Unidirectional from Jira to PlexTrac
* Bidirectional
* One-time from PlexTrac to Jira
* One-time from Jira to PlexTrac&#x20;

Two primary implementation scenarios exist:&#x20;

1. Tenancy-wide integration: A single Jira connection is supported across the entire PlexTrac instance.&#x20;
2. Client-specific integration: Each client can have its own dedicated Jira instance integration.&#x20;

In cases where a user, based on associated permissions, has access to both the tenancy-wide and a client-specific integration, they will be prompted to choose the appropriate Jira instance when linking a finding to a Jira ticket. This flexibility allows organizations to tailor the integration to their specific workflow needs.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FOH4xoFlStBoz8typfVMD%2Fimage.png?alt=media&#x26;token=55ce23d2-f0b6-43b4-bc42-6e258189d8db" alt="" width="563"><figcaption></figcaption></figure></div>

## Setting up a Jira Integration

<mark style="background-color:yellow;">Step 1</mark>: Click **Integrations** under "Tools & webhooks" from the Admin Dashboard.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FaD83slpDi006DbfInI7g%2Fimage.png?alt=media&#x26;token=21900941-0249-4e05-9353-a11eae2cda10" alt="" width="263"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 2</mark>: Click the **Jira** box.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FVaoiVu5P1oJOvOpKt0y7%2Fimage.png?alt=media&#x26;token=492ede43-46eb-4b73-8310-5ba45688c7c1" alt="" width="264"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 3:</mark> Click **New connection**.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FXcgYOhzOcthlQcc7HquX%2Fimage.png?alt=media&#x26;token=328d5701-da77-4c0b-bd7f-77eb7e9fa90d" alt=""><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 4:</mark> Enter a connection name in the provided box. Identify if this connection is across all clients or is client-specific.&#x20;

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FqPxQAisfh3xIeeHcfCxV%2Fimage.png?alt=media&#x26;token=eccc46ab-3b98-47fe-8b29-81fb4fb9581f" alt="" width="563"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 5:</mark> Click **Continue** at the bottom of the page.

<mark style="background-color:yellow;">Step 6:</mark> On the second tab, input the correct information in the provided fields. The application provides instructions on the right on how to find information for each field.

{% hint style="info" %}
If "Every day" is selected for the refresh frequency, the daily synch time will occur at 04:45 UTC (9:45 PM MTN).
{% endhint %}

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FWR6lLe5U8CIg81SocQAa%2Fimage.png?alt=media&#x26;token=81dd2adf-6c01-4c6b-9b2a-5e908e71d1ee" alt="" width="563"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 7:</mark> Click **Save & continue** at the bottom of the page.

If the connection is unsuccessful, an error message will be provided at the top of the page.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FrS6OLfxbsTfRfad627W4%2Fimage.png?alt=media&#x26;token=f9121bc3-0f06-4a0c-8652-5ee94cd74c95" alt="" width="420"><figcaption></figcaption></figure></div>

If a successful connection is made, the tool will progress to the next tab to continue.

<mark style="background-color:yellow;">Step 8:</mark> On the **Select projects** tab, choose the project(s) from Jira to integrate with by clicking the box next to the desired project. Only these projects will be available when creating tickets from findings. Click **Continue with x projects** when finished.

{% hint style="info" %}
It may take some time to set up the connections, depending on the number of projects selected.
{% endhint %}

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FFsFKJjmsCl36MykciJ9q%2Fimage.png?alt=media&#x26;token=3310be01-6e9d-4631-b62a-7c2da0749404" alt="" width="563"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 9:</mark> On the **Map fields & save** tab, select a project to configure from the pulldown "Project name." &#x20;

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2Fsa5cGTNF6Eg9x4RfmSKc%2Fimage.png?alt=media&#x26;token=a0889a18-e6a8-42f5-9127-a31bfdf99c54" alt="" width="422"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 10:</mark> Select the Jira project issue type from the provided list to configure.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2Ffy9ofjntJrdUgsv3E0nj%2Fimage.png?alt=media&#x26;token=46acdab7-b9ed-42ff-b420-a7ad55c1f6ff" alt="" width="563"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 11:</mark> Review the default mappings and adjust as desired.&#x20;

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FlVlQ2t9zLMv48mjeji47%2Fimage.png?alt=media&#x26;token=0a79ed35-2118-4cc0-a542-af47cacfe48e" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="warning" %}
PlexTrac findings cannot be created from Jira issues. Syncing from Jira to PlexTrac will occur after the initial issue creation.
{% endhint %}

The symbol displayed between the PlexTrac and Jira fields identifies the direction and synch of information between fields.&#x20;

{% hint style="info" %}
Required fields are identified with a red asterisk and cannot be deleted.
{% endhint %}

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FI5Wy834fzhWjezjSKAF0%2Fimage.png?alt=media&#x26;token=df5286cf-691f-4dcc-a503-f0d86a1aa3c0" alt="" width="463"><figcaption></figcaption></figure></div>

To modify the direction, click the icon and select the desired direction from the options provided. The icon arrow points to the direction information flows between the two fields.&#x20;

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FpP9aeWKsiUCNx8OOHVXH%2Fimage.png?alt=media&#x26;token=152a3cc8-7f2d-4f9b-85bd-7d6fb19a2951" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FcV6m1eQ3Hw6t1WqkcHaM%2Fimage.png?alt=media&#x26;token=f01c9ab9-5fbe-45c3-bbf8-16741a2e01ba" alt=""><figcaption></figcaption></figure></div>

1. **Jira to PlexTrac (Continuous sync)**

   When a change occurs in a Jira issue, the connected PlexTrac finding will be updated. When changes occur in PlexTrac, the Jira issue will not be updated. PlexTrac findings cannot be created from Jira issues. Syncing from Jira to PlexTrac will happen after the initial issue creation.
2. **Bidirectional (Continuous sync)**

   When a change occurs in a PlexTrac finding, the connected Jira issue will be updated. When changes occur in Jira, the PlexTrac finding will be updated.
3. **PlexTrac to Jira (Continuous sync)**

   When a change occurs in a PlexTrac finding, the connected Jira issue will be updated. When changes occur in Jira, the PlexTrac finding will not be updated.
4. **PlexTrac to Jira (One-time sync)**\
   Syncs data from PlexTrac to Jira upon ticket creation. A change in a PlexTrac finding will not be synced to the connected Jira issue.

{% hint style="warning" %}
If a bidirectional or Jira to PlexTrac direction is configured, be aware that a user in Jira could change findings values in PlexTrac despite not having access or permissions to do so within PlexTrac.&#x20;
{% endhint %}

<mark style="background-color:yellow;">Step 12:</mark> Repeat this process for each project issue type.&#x20;

{% hint style="info" %}
The options available in the PlexTrac field pulldown menus are contextual to the values selected in the Jira column. To change the options provided for PlexTrac fields, change the field provided in the Jira column. &#x20;
{% endhint %}

To add a new row for additional mappings not provided by default, click the plus icon at the bottom (after the last mapping).

{% hint style="info" %}
Not all fields in PlexTrac can be mapped to all fields in Jira. In those scenarios, fields will display a red icon when hovered over and a text description of "incompatible data type" when scrolling through the list of fields.
{% endhint %}

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FOItBxfwYMzQbSwbweSet%2Fimage.png?alt=media&#x26;token=4fa75297-3e8c-4a1d-8886-f2d17a80b704" alt=""><figcaption></figcaption></figure></div>

Click the pulldown menu in the PlexTrac field to select the desired field. Then click the pulldown menu in the Jira field to associate the desired mapping. Finally, select the desired flow.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2Fvem8N4oLcumGtSEiAGiV%2Fimage.png?alt=media&#x26;token=9cf75745-f96d-45b0-b10b-e0519e07ed06" alt="" width="384"><figcaption></figcaption></figure></div>

To delete any row, hover over it with the cursor and click the red trashcan icon.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FTGmE4oDtRls9TojitQPg%2Fimage.png?alt=media&#x26;token=fef754dd-4884-4ad4-b280-5777bc9942a5" alt=""><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 13:</mark> Click **Save & Continue**.

## Mapping PlexTrac Custom Fields

PlexTrac custom fields can be added for mapping to a Jira field, including fields with a dropdown menu.&#x20;

<mark style="background-color:yellow;">Step 1</mark>: Click the plus icon at the bottom of the **Map fields** tab (after the last existing mapping).

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FOItBxfwYMzQbSwbweSet%2Fimage.png?alt=media&#x26;token=4fa75297-3e8c-4a1d-8886-f2d17a80b704" alt=""><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 2</mark>: Click the pulldown menu in the Jira column of the newly added row to view the available fields in Jira to map. &#x20;

The Jira field must have a data type value of "String," "Option of strings," or "Non-Nullable String." The Jira data type is shown in the right column of the Jira fields when the options provided in the Jira field pulldown menu are viewed.

{% hint style="warning" %}
A data type value of "any" is displayed when PlexTrac does not know the data type due to how the field was added to Jira through a plug-in. Mappings with a data type value of "any" may not work as intended.\
\
![](https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FJDCt9IsglIQeMYRVfwV7%2Fimage.png?alt=media\&token=d68071a3-fde3-49a2-b05f-ef1974651fac)<br>
{% endhint %}

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FsJvFIPdOpDFgnNE9jFMt%2Fimage.png?alt=media&#x26;token=9cfe36ba-a0d7-4a27-a2d3-677974fc1767" alt="" width="563"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 3</mark>: Click within the PlexTrac column pulldown menu of the row just added and select "Custom Field" from the list.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FyFau0P2Ru27itYWrijxk%2Fimage.png?alt=media&#x26;token=5620883b-a27c-430f-9624-9468a384f96c" alt="" width="563"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 4</mark>: Enter the custom field key name.&#x20;

{% hint style="info" %}
The custom field key is located on the **Custom Fields** tab of a finding that is found via the **Reports** module. \
\
![](https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FjrrbwIXnHgNyUcPAENW2%2Fimage.png?alt=media\&token=7c13d58d-0bb3-42d2-9bb0-6a16340b0b69)
{% endhint %}

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FpmkRRusIGyRdHgCjljfj%2Fimage.png?alt=media&#x26;token=e0a10c5c-8adc-46eb-af0e-9c1863734776" alt=""><figcaption></figcaption></figure></div>

{% hint style="warning" %}
If the custom field key entered is different than what exists in PlexTrac, the mapping will not work, and a new custom field with that incorrectly entered value will be created in PlexTrac.
{% endhint %}

<mark style="background-color:yellow;">Step 5</mark>: Click **Save**.

## Mapping Jira Custom Fields

Jira custom fields available for mapping can be viewed by clicking a field in the Jira column and scrolling to the bottom of the window under the label "CUSTOM."

{% hint style="warning" %}
Jira custom fields from a third-party plugin cannot be mapped.
{% endhint %}

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FkcnrjyqNlEJ8Bw42UtO4%2Fimage.png?alt=media&#x26;token=284b81c1-8a27-4d73-be56-69c3b2d01936" alt="" width="512"><figcaption></figcaption></figure></div>

## Mapping Finding Reported Date

The finding reported date can be mapped so that any future findings will automatically update this value in Jira.&#x20;

<mark style="background-color:yellow;">Step 1</mark>: Click the plus icon at the bottom of the **Map fields** tab (after the last existing mapping).

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FOItBxfwYMzQbSwbweSet%2Fimage.png?alt=media&#x26;token=4fa75297-3e8c-4a1d-8886-f2d17a80b704" alt="" width="563"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 2</mark>: Click the pulldown menu on the Jira column of the row just added and select "Start Date."&#x20;

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FSJ2yltTUNjxKALoZl10R%2Fimage.png?alt=media&#x26;token=470824ff-dbbf-4be9-94b0-a04592f71ffc" alt="" width="490"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 3</mark>: Click the pulldown menu on the PlexTrac column of the same row and select "Created Date."

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2F7tG45FXUya7EiU2hYLMS%2Fimage.png?alt=media&#x26;token=a861d55b-7f29-45bf-9dd9-4fafd922548c" alt="" width="563"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 4</mark>: Click **Save**.

{% hint style="info" %}
[Visit this page for more information about linking a finding with Jira](https://docs.plextrac.com/plextrac-documentation/product-documentation/reports/findings/jira).
{% endhint %}

Any linked findings in PlexTrac will now be updated in Jira. If the mapping is configured for bidirectional, changes in this value in Jira will update in PlexTrac the next time data synchronization occurs.&#x20;

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FjIVTrlGUuyuLE8D4qXCg%2Fimage.png?alt=media&#x26;token=2cd18ba5-6518-4c95-bbd8-5bf9eb108648" alt="" width="563"><figcaption></figcaption></figure></div>

## Editing a Jira Integration

<mark style="background-color:yellow;">Step 1</mark>: From the **Admin Dashboard**, click **Integrations** under "Integrations & webhooks."

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FdfjCu3socXGT6HAbNVi6%2Fimage.png?alt=media&#x26;token=99285b7e-55b8-4485-b92e-b13642fd8df8" alt="" width="263"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 2</mark>: Click the **Jira** box that shows the status of "Connected."

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2F7kx8uyLAF9NT51CrWAbl%2Fimage.png?alt=media&#x26;token=8daf0f4e-878c-4481-afed-4eaa8dead5a4" alt="" width="254"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 3:</mark> Click **Edit** under the "Actions" menu of the connection to modify.

{% hint style="info" %}
This screen is also the location to disable or delete a Jira connection.
{% endhint %}

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2F25z05mXIk4JJialDaZcQ%2Fimage.png?alt=media&#x26;token=8614e204-f86d-4444-bc91-40e3175fe35f" alt="" width="563"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 4:</mark> Go to the desired tab to adjust as desired.&#x20;

{% hint style="info" %}
Connection availability and selected clients cannot be edited. To change availability or clients, create a new connection.
{% endhint %}

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2Fk6UcCBLg1JzMcodrUACZ%2Fimage.png?alt=media&#x26;token=4338dd83-5935-49ec-af8d-bb2df78b5249" alt="" width="563"><figcaption></figcaption></figure></div>

## Disabling a Jira Integration

Two ways exist to disable a Jira integration:

1. Temporarily, by toggling the button under the "Enabled" column.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2FUyWlypHxxAZBJlO4OenG%2Fimage.png?alt=media&#x26;token=c50555d7-87c5-4531-8b14-72658468cc21" alt="" width="563"><figcaption></figcaption></figure></div>

2\. Permanently, by clicking **Delete** under the three dots in the "Actions" column.

<div align="left"><figure><img src="https://4252973360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LXA6EayCcg12qfDcfXd%2Fuploads%2F7y0Fz4BFDKgX9iWGyO43%2Fimage.png?alt=media&#x26;token=d9823ebf-da6c-4893-b339-f8d090512fac" alt="" width="563"><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plextrac.com/plextrac-documentation/product-documentation-1/account-management/account-admin/integrations-and-webhooks/integrations-api/jira.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
