# Jira

{% hint style="info" %}
Adding notification integrations requires admin privileges in groundcover
{% endhint %}

## Generating API Key

To generate your API key, go here: <https://id.atlassian.com/manage-profile/security/api-tokens>, Create a new API Key and copy it.

## Getting Jira Settings

Get your `host` and `projectKey` from your respective board from its URL. For Example: `https://example.atlassian.net/jira/software/projects/rnd/list`

1. host: `https://example.atlassian.net`
2. projectKey: `rnd`

## Create Jira Webhook Integration in groundcover

1. In groundcover, Go to **Settings → Integrations**.
2. Click on Webhook Integration
3. Add webhook integration:
   1. Select your name
   2. Add the following URL, `{host}/rest/api/2/issue?projectKey={projectKey}` based on your host from step 2. For Example:

      ```yaml
      https://example.atlassian.net/rest/api/2/issue?projectKey=rnd
      ```
   3. Using Basic Authentication
      1. User: Enter your jira mail
      2. Password: API key from step 1.
   4. Save

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

### Workflow Example

You can see a detailed workflow example to use with your integration, [here](/~/revisions/1mY0CQn12Klyi0QiItHv/use-groundcover/workflows/integration-examples.md#jira-ticket-creation).


---

# 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.groundcover.com/~/revisions/1mY0CQn12Klyi0QiItHv/integrations/workflow-integrations/jira-webhook-integration.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.
