Import Data From Jira To Google Sheets

Connect Jira to Google Sheets and improt data from Jira to Google Sheets
Reading Time: 6 minutes

Improve Jira issue tracking and project management by connecting Jira to Google Sheets. All you have to do is create a Jira-Google Sheets integration to connect Jira to Google Sheets. You will then be able to automatically import data from Jira to Google Sheets.

This can be done with ease with Amigo, a data integration and automation tool. Using Amigo, we can create a Jira Google Sheets integration, connect Jira to Google Sheets and import data from Jira to Google Sheets–without involving a single line of coding. All you need is a basic understanding of Jira API–which you’ll be familiar with by the end of this article.

Shown below is a snippet of Jira projects exported to Google Sheets.

Jira Projects exported to Google Sheets

To set up a Jira Google Sheets integration and import data from Jira to Google Sheets, we’ll use the following steps:

  1. Install the Amigo add-on
  2. Generate Jira API token
  3. Get the API endpoint URL
  4. Import the data from Jira

How to import data from Jira to Google Sheets

Here is a step-by-step guide on how to create a Jira Google Sheets and connect Jira to Google Sheets and then import data from Jira to Google Sheets.

Step 1: Install the Amigo Data extension

Install the Amigo add-on to create a Jira and Google Sheets integration and pull Jira data to Google Sheets. Get it from the Google Workspace Marketplace by clicking the link provided below.

Install Amigo to import data from Jira to Google Sheets

Alternatively, you can get it from Google Sheets.

  • Open Google Sheets
  • Go to Extensions→Add-ons→Get add-ons
  • Search for Amigo and install it.

Step 2: Create a Jira API token

Log in to your Atlassian account and navigate to the account security page by clicking the account icon at the top right corner and clicking Account Settings.

Navigating to the Jira account settings page

Select Security. Then click the Create and manage API tokens link given at the bottom of the page.

Jira security page

On clicking the link, we’ll be taken to the API tokens management page. Click Create API token.

API tokens page

Give the token a suitable label and click the Create button to create a Jira API token.

Labelling the API token

Copy the API token and keep it somewhere safe and accessible. The token will not be found again on the token page. There are however options to revoke the token or create new ones.

Jira API token

Step 3: Get the API endpoint URL

Go to the Jira API documentation. On the left of the page is a list of endpoint categories that you can use to pull Jira data to Google Sheets.

List of endpoint categories

Expand any of the endpoint categories and select the specific endpoint you want to retrieve. We’ll use the Projects category as an example and use the Get all projects endpoint to import Jira projects to Google Sheets.

Endpoints under Projects category

Scroll to the Example section to find the generic endpoint, and also the authentication type and header.

In the snippet shown below, the parameters --url and --header are the endpoint URL and header respectively; --user signifies basic authentication. The email id is the username and the API token is the password.

Endpoint URL and headers

Note these values as we’ll use them to import Jira data to Google Sheets.

Modify the endpoint URL by replacing your-domain in the URL with your Atlassian domain.

For example, my Atlassian URL is tryamigo.atlassian.net. So in my case, the endpoint URL would be:

https://tryamigo.atlassian.net/rest/api/3/project

We can also pass the authentication as a header. For this we need to transform the --user values into a header by encoding [email protected]:API_token into a base64 text string.

Authorization: Basic XWxhZGRpbjpvcGVuc2VzYW1l

The text after the Basic is the base64 encoded text string of the email:api_token combination provided with the --user parameter.

Other endpoints to import Jira data to Google Sheets can be got similarly. For example, the endpoint to retrieve all statuses for a project is as under:

https://your-domain.atlassian.net/rest/api/3/project/{projectIdOrKey}/statuses

And for the list of all issues events, the endpoint is:

https://your-domain.atlassian.net/rest/api/3/events

The other parameters–user and header–remain the same. And we can either pass them as basic authentication or headers.

Step 4: Import data from Jira to Google Sheets

Open Google Sheets and launch Amigo to import data from Jira to Google Sheets. To connect to Amigo, click Extensions→Amigo→Connect.

Launch Amigo to connect Jira to Google Sheets

Then select Custom API from the list of sources.

List of sources to connect to with Amigo Data

Enter the endpoint URL without the apostrophes in the API URL field.

Entering the endpoint URL in Amigo

Expand the Authentication tab and select Basic Auth from the drop-down menu. Then enter your Jira email address and the API token created earlier as the username and the password, respectively.

Entering the authentication

Then expand the Details tab and enter the header[s].

Name: Accept, Value: application/json.

[And if you’re passing the authentication as a header, then enter the values as a separate header.

Name: Authorization, Value: Basic base64_endoded string]

Entering the headers

Click the PREVIEW button to retrieve the Jira data and preview the Jira projects to import to Google Sheets. Flatten and expand the nested datasets and delete the columns that are not required. Then click IMPORT.

Preview of the Jira projects to import to Google Sheets

The Jira data will be imported into Google Sheets in a few moments.

Data imported from Jira to Google Sheets

And so that’s how we pull Jira project to Google Sheets with Jira API.

You can similarly import other types of Jira data to Google Sheets such as Jira tasks, issues, user groups and project types to name but a few.

Visit the Jira API documentation to learn more.

Automatically pull Jira data to Google Sheets

If you want to or need to have these data updated automatically, you can do so by setting a refresh schedule in Amigo, and the data will be fetched automatically and updated at regular intervals. Click on this link to learn how to set a refresh schedule.

You can also add alerts to let Amigo alert you and your team via email and Slack. All your team members will then receive the updated data simultaneously as soon as an update is received. Amigo enables you to take collaboration to the next level.


FAQs

How do I import Jira issues into Google Sheets?

How to schedule regular imports of Jira data into Google Sheets?

Can I import data from multiple Jira projects into Google Sheets?

Some recommended articles:
Import Mailchimp Data To Google Sheets

Import SurveyMonkey Data To Google Sheets

Import Holidays List From Holiday API To Google Sheets

Leave a Reply

Discover more from Amigo: No-code Data Integrations to Google Sheets

Subscribe now to keep reading and get access to the full archive.

Continue reading