# Jira

The JIRA integration provides users with the organizational convenience of managing vulnerabilities detected in FSProtect. When you configure the plugin, the FSProtect uses these fields to organize and manage vulnerabilities detected when running vulnerability scans.

When the following configuration steps have been successfully done, users can assign the found `Issues` from the FSProtect as JIRA tickets to their team members.

The JIRA integration consists of two configuration requirements ;

* **REST API Connection Information**
* **Data binding fields between JIRA and FSProtect**

![Jira Integration](/files/EHjDbRZHlcYJYDPgrBWN)

## **Configuring the REST API Connection**

Before the configuration of the project specifications, the REST API connection information must be supplied.

FSProtect supports both on-prem and cloud JIRA instances.

Following input fields must be supplied according to the JIRA instance,

![JIRA Rest API Fields](/files/R3vamNqkz7U14NwDazga)

**E-Mail**: The e-mail address of the JIRA API user.

**API Key/Personal Access Token**:

* The generated API Key for cloud JIRA instances to authenticate over REST API. (<https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/>)
* The generate Personal Acccess Token for on-premise JIRA instances to authenticate over REST API.(<https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html>)

**URL**: The url address of the JIRA server.

**Cloud Instance**: JIRA instance type.Switch on for cloud instances, switch off for on-premise instances.

Submitting the form with the `Save` button validates the user supplied input.

If the connection information is correct, the project specification tab has been enabled.

![Completing the REST API Integration](/files/iJDhNZCovgH0LGiYclFc)

## Updating the Jira Address

* "Change" will update the URLs of all previously created Jira tickets.
* "Delete" will remove all previously created Jira tickets.

<figure><img src="/files/JpFL8RhBg7CPACC1JuS3" alt=""><figcaption></figcaption></figure>

## **Data Binding between JIRA and FSProtect**

The JIRA specification tab allows users to specify the project details and relevant data binding configurations between FSProtect and JIRA.

![JIRA Data Bindings](/files/3VwTQ2tnYy1scOi7O1tv)

**Project Key**: Name of the project that is created from JIRA for the found `Issues` by the FSProtect.

**Issue Type**: The type of issues to bind the created tickets in a specified category.

**Priority for Info Severity**: The severity mapping for the Information level `Issues` found by the FSProtect to the JIRA level specification.

**Priority for Low Severity**: The severity mapping for the Low level `Issues` found by the FSProtect to the JIRA level specification.

**Priority for Medium Severity**: The severity mapping for the Medium level `Issues` found by the FSProtect to the JIRA level specification.

**Priority for High Severity**: The severity mapping for the High level `Issues` found by the FSProtect to the JIRA level specification.

**Priority for Critical Severity**: The severity mapping for the Critical level `Issues` found by the FSProtect to the JIRA level specification.

Submitting the form with the `Save` saves the binding and mapping configurations between the FSProtect and the JIRA.

## **Assign Issues to Users**

After a successful JIRA configuration, route to the `Issues` tab and choose `Create JIRA Ticket` from the three-dot button and supply the necessary information;

* Issue Type
* Issue Priority
* Issue Assignee

![Assigning Issues to Users](/files/HsPEYcL0WW0ZEXLU89Js)

To create tickets for multiple vulnerabilities at once, navigate to the 'Issues' tab and begin selecting vulnerabilities from the checkboxes located in the leftmost section of the table. Upon selecting the desired vulnerabilities, proceed to choose 'Create Jira Ticket' from the bulk action menu, and then click 'Apply'. After clicking the “Apply” button, supply the necessary information. The button located at the rightmost side of the table can be used to assign the assignee of the row to all tickets to be created.

<figure><img src="/files/uLPzt8ytJwD9ctxdDtgu" alt=""><figcaption><p>Assigning issues in bulk</p></figcaption></figure>

Successfuly created tickets can be analyzed from the JIRA,

![JIRA Ticket](/files/KkFH8w4QEU07UsqoxMSS)

Tickets created for the scan will appear in the comment section of the respective ticket in JIRA, accompanied by relevant information and reports.

<figure><img src="/files/nQGHqfIVBU4dA0J4RmkK" alt=""><figcaption><p>Scan related information in comment section</p></figcaption></figure>


---

# 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.forestall.io/fsprotect/integrations/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.
