> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# JIRA Cloud Connector

## Intro

JIRA helps teams to get organized and work together to build incredible products, but product teams are just one part of your organization. With Domo, you can combine data from multiple sources into a single platform--pulling data from product development, marketing, sales, operations, and finance for a real-time, holistic view of your business.

Once your data is in Domo, you can get stunning, dynamic JIRA visualizations with real-time data, on any device.

Domo's JIRA Cloud connector allows you to connect to your JIRA account to extract data from JIRA. You can import data including issue tracking, completed tickets per team, ticket resolution time, and project management metrics, using either custom or predefined queries. To learn more about the JIRA API, see [https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-query-issues](https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-query-issues "https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-query-issues").

The JIRA connector is a "Cloud App" connector, meaning it retrieves data stored in the cloud. In the Data Center, you can access the connector page for this and other Cloud App connectors by clicking \***\*Cloud App\*\*** in the toolbar at the top of the window.

You connect to your JIRA Cloud account in the Data Center. This topic discusses the fields and menus that are specific to the JIRA Cloud connector user interface. General information for adding DataSets, setting update schedules, and editing DataSet information is discussed in [Adding a DataSet Using a Data Connector](https://domo-support.domo.com/s/article/360042926274?language=en_US "Adding a DataSet Using a Data Connector").

<table data-aura-rendered-by="33:195;a">
  <tbody>
    <tr>
      <td colspan="1" rowspan="1">
        <p>
          <b>
            <b> Primary Use Cases </b>
          </b>
        </p>
      </td>

      <td colspan="1" rowspan="1">
        <ul>
          <li>
            <p> Tracking progress and movement of tickets </p>
          </li>

          <li>
            <p> Number of tickets assigned to specific users or groups </p>
          </li>

          <li>
            <p> Seeing if too many tickets of a certain type are open (bugs) </p>
          </li>
        </ul>
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        <p>
          <b>
            <b> Primary Metrics </b>
          </b>
        </p>
      </td>

      <td colspan="1" rowspan="1">
        <ul>
          <li>
            <p> Bug / issue / ticket tracking (by age, type, status, submitter) </p>
          </li>

          <li>
            <p> Completed tickets per team </p>
          </li>

          <li>
            <p> Ticket resolution time </p>
          </li>

          <li>
            <p> Project management metrics (tracking individual tasks of a larger project or epic). </p>
          </li>
        </ul>
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        <p>
          <b>
            <b> Primary Company Roles </b>
          </b>
        </p>
      </td>

      <td colspan="1" rowspan="1">
        <p> Product managers </p>
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        <p>
          <b>
            <b> Average Implementation Time </b>
          </b>
        </p>
      </td>

      <td colspan="1" rowspan="1">
        <p>
          {" "}

          This can vary wildly depending on the implementation and the user's level of knowledge of their JIRA system.{" "}
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        <p>
          <b>
            <b> Ease of Use (on a 1-to-10 scale with 1 being easiest) </b>
          </b>
        </p>
      </td>

      <td colspan="1" rowspan="1">
        <p> 7 </p>
      </td>
    </tr>
  </tbody>
</table>

## Best Practices

* You should usually use "Replace" with the JIRA Cloud connector, as "Append" does not work well.
* If the query is for data across a long time period, scheduling should be kept to a minimum (once a day). For shorter queries, more frequent updates are appropriate.

## Prerequisites

To connect to your JIRA Cloud account and create a DataSet, you must have:

* The domain of your JIRA Cloud account (Jira Server accounts are not supported for OAuth).

You can authenticate to the Jira Cloud connector with the same credentials you use to log into your Jira account online.

## Connecting to Your JIRA Cloud Account

This section enumerates the options in the **Credentials** and **Details** panes on the Jira Cloud Connector page. The components of the other panes in this page, **Scheduling** and **Name & Describe Your DataSet**, are universal across most connector types and are discussed in greater length in [Adding a DataSet Using a Data Connector](https://domo-support.domo.com/s/article/360042926274?language=en_US "Adding a DataSet Using a Data Connector").

### Credentials Pane

This pane contains fields for entering credentials to connect to your (third-party tool) account. The following table describes what is needed for each field:

<table border="1" cellpadding="1" cellspacing="1" data-aura-rendered-by="33:195;a">
  <thead>
    <tr>
      <th colspan="1" rowspan="1">
        <p>
          <span class="s1"> Field </span>
        </p>
      </th>

      <th colspan="1" rowspan="1">
        <p>
          <span class="s1"> Description </span>
        </p>
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td colspan="1" rowspan="1">
        {" "}

        Domain{" "}
      </td>

      <td colspan="1" rowspan="1">
        {" "}

        The domain of your JIRA Cloud account. Jira Server accounts are not supported for OAuth.{" "}
      </td>
    </tr>
  </tbody>
</table>

Once you have entered valid JIRA Cloud credentials, you can use the same account any time you go to create a new JIRA Cloud DataSet. You can manage connector accounts in the **Accounts** tab in the Data Center. For more information about this tab, see [Managing User Accounts for Connectors](https://domo-support.domo.com/s/article/360042926054?language=en_US "Managing User Accounts for Connectors").

### Details Pane

This pane contains a primary **Reports** menu, along with various other menus which may or may not appear depending on the report type you select.

#### Get JIRA Issue Data

When you select \***\*Get JIRA Issue Data\*\***, a JQL Query Builder appears on the screen. Here you can build JIRA queries to returns columns for nearly every JIRA ticket parameter, like issue summary and description, creation date, resolution date, impacted customer name, and environment. You can also create a JQL query in JIRA and paste it into the query builder.

The JQL Query Builder automatically suggests your JIRA fields and values, enabling you to easily create JQL queries.

<Note>
  **Note:** You need to always add order by clause in the query. On the Jira side, there is a limitation that does not
  sort the issues in any order, causing the connector to miss and duplicate some items.
</Note>

You may also select from the suggested queries on the right side of the Query Builder. Simply click on a suggested query and it will populate the JQL Query Builder. You may edit the query if desired afterwards.

One query example is as follows:

```sql theme={"dark"}
(issuetype = Bug OR issuetype = defect OR issuetype = Improvement) AND status!= Closed ORDER BY createdDate DESC
```

This query retrieves all open issues that are classified as bugs, defects, or Improvements and sorts them by their creation dates.

For more information about writing JQL queries, see [https://confluence.atlassian.com/display/JIRA/Advanced+Searching](https://confluence.atlassian.com/display/JIRA/Advanced+Searching "https://confluence.atlassian.com/display/JIRA/Advanced+Searching").

JIRA Issue Reports

If you would prefer to pull in premade reports rather than build custom queries, you can do so by expanding the \***\*Report Selection\*\*** tab and then choosing the desired report type. The following reports are available:

<table border="1" data-aura-rendered-by="33:195;a">
  <tbody>
    <tr>
      <td colspan="1" rowspan="1">
        <b> Field </b>
      </td>

      <td colspan="1" rowspan="1">
        <b> Description </b>
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        {" "}

        Report{" "}
      </td>

      <td colspan="1" rowspan="1">
        <table border="1">
          <tbody>
            <tr>
              <td colspan="1" rowspan="1">
                <b> Report Name </b>
              </td>

              <td colspan="1" rowspan="1">
                <b> Description </b>
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Issue Query{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Allows the user to query issues using JQL (JIRA Query Language).{" "}
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Fields{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Returns a list of fields used in the user's JIRA account.{" "}
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Group Members{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Returns a list of users that belong to the specified group. You must have admin access to run this report.{" "}
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Projects{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Returns a list of all projects the user has access to.{" "}
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Project Versions{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Returns a list of all versions of the specified project.{" "}
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Users Groups{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Returns a list of groups for all users.{" "}
              </td>
            </tr>
          </tbody>
        </table>
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        <b /> JQL Query{" "}
      </td>

      <td colspan="1" rowspan="1">
        {" "}

        Enter a JQL query to pull custom data. For information see,

        <a href="https://confluence.atlassian.com/display/JIRA/Advanced+Searching" target="_blank" title="Jira Documentation">
          {" "}

          Jira Documentation.{" "}
        </a>
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        {" "}

        Data Option{" "}
      </td>

      <td colspan="1" rowspan="1">
        <table border="1">
          <tbody>
            <tr>
              <td colspan="1" rowspan="1">
                <b> Data Option </b>
              </td>

              <td colspan="1" rowspan="1">
                <b> Description </b>
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Comments Report{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Returns JIRA tickets with their related comments.{" "}
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Changelog Report{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Returns changelogs per issue applicable to the query. The Changelog report is only available to Jira Cloud
                users.{" "}
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Labels Report{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Returns labels for issues applicable to the query.{" "}
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Linked Issues Report{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Returns linked issues for issues applicable to the query.{" "}
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Sprint Report{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Returns details of sprints for issues applicable to the query.{" "}
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Standard Ticket Report{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Returns columns for nearly every parameter for JIRA tickets, such as issue summary and description, creation
                date, resolution date, impacted customer name, environment, etc.{" "}
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Ticket History Report{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Returns historical information about tickets.{" "}
              </td>
            </tr>

            <tr>
              <td colspan="1" rowspan="1">
                {" "}

                Worklog Report{" "}
              </td>

              <td colspan="1" rowspan="1">
                {" "}

                Returns worklogs per issue applicable to the query.{" "}
              </td>
            </tr>
          </tbody>
        </table>
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        {" "}

        Filter Type{" "}
      </td>

      <td colspan="1" rowspan="1">
        {" "}

        Select to include or exclude specific fields from the returned dataset.{" "}
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        {" "}

        Flatten All Fields{" "}
      </td>

      <td colspan="1" rowspan="1">
        {" "}

        Select this checkbox to flatten all sublists.{" "}
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        {" "}

        Sublists To Flatten{" "}
      </td>

      <td colspan="1" rowspan="1">
        <p> Enter the sublists to be flattened. </p>

        <p>
          {" "}

          Note: If you clear the <b> Flatten All Fields </b> checkbox, the <b> Sublists To Flatten </b> field appears.{" "}
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        {" "}

        Include All Sprints{" "}
      </td>

      <td colspan="1" rowspan="1">
        <p>
          {" "}

          Select this checkbox to pull data for all sprints. If not selected, only data for active sprints will be retrieved.{" "}
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        {" "}

        Reset Schema{" "}
      </td>

      <td colspan="1" rowspan="1">
        <p>
          {" "}

          Select this checkbox to only include columns that have been imported in the current execution. Please note this
          option only works for the Replace update method.{" "}
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        {" "}

        Group Name{" "}
      </td>

      <td colspan="1" rowspan="1">
        <p>
          {" "}

          Enter the group that contains the users you wish to retrieve. This report requires an Administrator account.{" "}
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="1" rowspan="1">
        {" "}

        Project{" "}
      </td>

      <td colspan="1" rowspan="1">
        <p> Select the JIRA Project you want to retrieve data for. </p>
      </td>
    </tr>
  </tbody>
</table>

### FAQ

<AccordionGroup>
  <Accordion title="When should I use this connector?">
    The JIRA Cloud Connector connects to JIRA Cloud instances using OAuth. Use this connector if your JIRA instance does not allow local usernames and passswords, and if you are using a JIRA Cloud instance.
  </Accordion>

  <Accordion title="Which endpoint(s) does each report call in this connector?">
    <table border="1" data-aura-rendered-by="33:195;a"><tbody><tr><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"><b> Report Name </b></td><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"><b> Endpoint URL </b></td></tr><tr><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"><span> Issue Query </span></td><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"><span> /rest/api/2/search </span></td></tr><tr><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"><span> Fields </span></td><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"> /rest/api/2/field </td></tr><tr><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"><span> Group Members </span></td><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"><span> /rest/api/2/group/member/{groupname} </span></td></tr><tr><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"><span> Projects </span></td><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"><span> /rest/api/2/project </span></td></tr><tr><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"><span> Project Versions </span></td><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"><span> /rest/api/2/project/{projectId}/versions </span></td></tr><tr><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"><span> Users Groups </span></td><td class="wysiwyg-text-align-center" colspan="1" rowspan="1"><span> /rest/api/2/user/groups </span></td></tr></tbody></table>
  </Accordion>

  <Accordion title="What kind of credentials do I need to power up this connector?">
    You need the domain of your JIRA Cloud account. The Jira Cloud connector supports OAuth2 authentication. You can authenticate to this connector with the same credentials you use to log into your Jira account online.
  </Accordion>

  <Accordion title="How frequently will my data update?">
    Data from Jira's servers are usually made available to the API immediately.
  </Accordion>

  <Accordion title="How do I know if my query is right?">
    Jira's platform provides a handy tool to verify if your query is valid. An easy way to access this tool is simply to do a search in Jira's search bar. Once on the search screen, you will see a green check box next to the query string for your search to indicate that it is valid. Otherwise, you will see a red X. You can switch back to the basic search functionality to build a query from the available selectors, and then switch again to advanced to see the resulting query.
  </Accordion>

  <Accordion title="Can this connector pull custom fields?">
    Because Jira returns so much data, the connector enables you to specify fields either as inclusive or exclusive. If you choose inclusively, only the fields you specify will be returned. If you choose exclusive, all fields will be returned except for those that you specify.

    **Note**: Field ids must be entered. If the field names are entered, then they will be ignored.
  </Accordion>

  <Accordion title="Why will the connectors not reset the schema?">
    Connectors will not reset the schema of what has already been imported, which may result in blank columns appearing, if the customer has the dataset set to run on a **Replace**. This is due to the need to maintain backwards compatibility.
  </Accordion>
</AccordionGroup>

## Troubleshooting

* Jira requires a fair amount of configuration from the side of the JIRA admin to ensure that API access is enabled. Common issues include setting the timeouts too short or not providing sufficient resources to the JIRA server.
* If users have trouble understanding how to format JQL, the easiest thing is to log into the JIRA front end. Via the search bar, JIRA provides a tool that can construct a JQL query with preset filters. After constructing your query, if you hit the \***\*Advanced\*\*** button, JIRA presents you with your selections in JQL format.

## Other Panes

For information about the remaining sections of the connector interface, including how to configure scheduling, retry, and update options, see [Adding a DataSet Using a Data Connector](https://domo-support.domo.com/s/article/360042926274?language=en_US "Adding a DataSet Using a Data Connector").
