# JIRA

### What data can be transferred in this integration?

{% tabs %}
{% tab title="Tasks" %}
Create tasks in Moment with data from JIRA

**Fields included:** customer name, customer number, organization number, email.
{% endtab %}

{% tab title="Hours" %}
Register hours in Moment based on the project these are registered on in JIRA

**Fields included:** project name, project number, customer number.
{% endtab %}
{% endtabs %}

Our JIRA integration is used to transfer data from JIRA to Moment, the current version of this includes registered hours, there are from the worklog. And it's possible to create tasks in Moment.

### One-time configuration

To configure the JIRA integration fill out the dialog as shown below

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

* JIRA API URL: This is the URL to the JIRA API for your company. This should normally be "https\://{yourcompany}.atlassian.net/rest/api/2"
* User name: The user name used to log in to JIRA
* API Key: The API key generated in JIRA
* Moment webhook key: Secret key that is used as part of webhook URL from Jira to Moment. Needed for extra security.
* Custom field for company: Select the custom field to be used for company. Support only for Epic issues.&#x20;
* Custom field for project number: Select the custom field to be used for project number. Support only for Epic issues.
* Custom field for activity: Select the custom field to be used for activity. To be used on Story and Bug issues, as well as issues from Service Desk.


---

# 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.milientsoftware.com/help/moment-by-topic/integrations/other-systems/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.
