# How to setup faster data sync for JIRA?

Realtime data sync for JIRA allows Haystack to sync data with your JIRA boards almost instantly rather than having to wait 30 minutes for JIRA data to be reflected on Haystack!

|                             | With Real Time | Without Real time |
| --------------------------- | -------------- | ----------------- |
| Time to sync data with JIRA | 10 seconds     | 30 minutes        |

## There are two ways to do this <a href="#h_c254d57492" id="h_c254d57492"></a>

* [**Integrate JIRA with admin token**](#h_3f05a0e88a)
* [**Integrate JIRA without admin token**](#h_9e7f3961f4)

💡 We recommend you to share this article with your JIRA admin

### First Method: Integrate JIRA with admin token <a href="#h_3f05a0e88a" id="h_3f05a0e88a"></a>

To achieve real time sync, Haystack requires webhooks. In this method, you'll be giving admin token & our application will automatically create the webhooks for you.

All you need to do is swap the JIRA token you have provided with a JIRA admin's token.

You can follow the [steps here](https://help.usehaystack.io/setup/integrations/jira).

### Second Method: Integrate JIRA without admin token <a href="#h_9e7f3961f4" id="h_9e7f3961f4"></a>

Alternatively, to achieve real time sync, you can create webhooks manually after integrating JIRA without an admin token!

#### **1. Get the webhook URL**

* If you have a the URL already you can skip this step. URL should look something like this

```
https://webhooks.usehaystack.io/xxxx-xxxx
```

* If not please contact our team at <support@usehaystack.io> to get your URL

#### **2. Head to your your JIRA dashboard. Click the settings icon on the top-right corner.**

<figure><img src="https://haystack-cf20ab244ac6.intercom-attachments-7.com/i/o/935580206/4b4ced0bfeac552f26b65c7e/68747470733a2f2f63646e2e7a617070792e6170702f66396134303866306463393963373262363265616531326665363263613539312e706e67" alt=""><figcaption></figcaption></figure>

#### **3. Click System Settings**

<figure><img src="https://haystack-cf20ab244ac6.intercom-attachments-7.com/i/o/935580211/f89d388de26f20b8c57da398/68747470733a2f2f63646e2e7a617070792e6170702f32373933633662663937356138623332363966346537636232616632303063332e706e67" alt=""><figcaption></figcaption></figure>

#### **4. Scroll down on the left menu, find** `Webhooks`**.**

<figure><img src="https://haystack-cf20ab244ac6.intercom-attachments-7.com/i/o/935580221/3279f4ea60bbd21fdf0d47da/68747470733a2f2f63646e2e7a617070792e6170702f33613262646364613263623136346363383364666164376339373632303037642e706e67" alt="" width="375"><figcaption></figcaption></figure>

#### **5. Click create new webhook on the top right corner.**

<figure><img src="https://haystack-cf20ab244ac6.intercom-attachments-7.com/i/o/935580224/d83d58b235650485b178bfce/68747470733a2f2f63646e2e7a617070792e6170702f30643135663963386636613838633666636263626266356664666135626561382e706e67" alt=""><figcaption></figcaption></figure>

#### **6. Provide webhook name & webhook URL you got from step (1)**

<figure><img src="https://haystack-cf20ab244ac6.intercom-attachments-7.com/i/o/935580230/3feb0483db9e0e6c0461f192/68747470733a2f2f63646e2e7a617070792e6170702f39383532313939613338366633613239613862373466646566666230653636372e706e67" alt=""><figcaption></figcaption></figure>

#### **7. Select all events under "Issue Related Events" & "User Related Events"**

<figure><img src="https://haystack-cf20ab244ac6.intercom-attachments-7.com/i/o/935580241/242e378f7a672f45a2779916/68747470733a2f2f63646e2e7a617070792e6170702f38363261643030383065656136636235643566343432386266396164346536342e706e67" alt=""><figcaption></figcaption></figure>

#### **8. Select all events under "JIRA configuration related events" & "Project related events"**

<figure><img src="https://haystack-cf20ab244ac6.intercom-attachments-7.com/i/o/935580245/7c81cbd5fbb1a0062610f0e0/68747470733a2f2f63646e2e7a617070792e6170702f32316261666134663461353335643335323730336566633038323539353766372e706e67" alt=""><figcaption></figcaption></figure>

#### **9. Select all events under "JIRA software related events"**

<figure><img src="https://haystack-cf20ab244ac6.intercom-attachments-7.com/i/o/935580250/e403e0edf44ab8d056f35e58/68747470733a2f2f63646e2e7a617070792e6170702f61313939616163656364633561656238383362616638353266373762373734382e706e67" alt=""><figcaption></figcaption></figure>

#### **10. Make sure "Exclude body" is unchecked**

<figure><img src="https://downloads.intercomcdn.com/i/o/937033472/2392b906c91b1e07e50abd37/Screenshot+2024-01-18+at+7.05.55%E2%80%AFPM.png" alt=""><figcaption></figcaption></figure>

#### **11. Click Create**

You should now be done! Haystack should start receiving the webhooks automatically.


---

# 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://help.usehaystack.io/admin/data-sync/how-to-setup-faster-data-sync-for-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.
