To pull data from Jira into Google Sheets, first install and open the Apipheny Google Sheets API add-on.
Apipheny is a no-code API integrator for Google Sheets that you can use to make unlimited API requests, connect to unlimited API data sources, save your API requests, schedule API requests to refresh hourly, and more. Click here for more info. There’s a 30-day free trial included.
1. Install Apipheny by opening the following link on desktop and then clicking the Install button on the page: https://gsuite.google.com/marketplace/app/apipheny/966163326746
2. After you’ve installed Apipheny, open a Google Sheet and then click on the Add-Ons option in the top menu. In the add-ons menu, you should see Apipheny.
Click Apipheny > Import API to open the Apipheny sidebar in your Google Sheets:
Then, complete the Name field, checkmark the Atlassian’s developer terms checkbox and then click the Create button again:
Your JIRA API app has now been created:
Go to https://id.atlassian.com/manage-profile/security/api-tokens and click the Create API token button:
Complete the Label field with an easy-to-remember name and then click the Create button:
Your token has now been generated.
Click the Copy button and paste your token in a safe location because you’ll need the token in the next steps.
In this section, I’ll show you how to browse the Jira API documentation to find an API endpoint URL that retrieves the information you need from your JIRA account.
An endpoint is just a specific API URL that will tell JIRA exactly what data you want returned to your Google Sheet.
If you already know your JIRA API URL, or you want to use the same example URL as us, just skip to Step 5.
First, open the Jira API documentation page: https://developer.atlassian.com/cloud/jira/platform/rest/v3/
The menu on the left contains a list of categorized endpoints for the Jira API:
An example JIRA endpoint is the Avatars category, which includes the Get system avatars by type, the Get avatars, the Load avatar and the Delete avatar endpoints.
An example endpoint is the Get system avatars by type, that returns a list of system avatar details by owner type, where the owner types are issue type, project or user:
The documentation for each endpoint contains the HTTP method used (eg. GET), a short description of the endpoint’s purpose, a list of required permissions, a description of the accepted parameters and example requests and responses:
All API calls to Jira should be made to the https://[appname].atlassian.net/rest/api/3 base domain.
Now, to enter your JIRA API request in your Google Sheet, first go back to your Google Sheet and make sure that the Apipheny add-on is open on the “Import” tab.
With the Import Tab open, enter these details into the Apipheny add-on:
Method: At the top of the Apipheny add-on, select the HTTP method (GET or POST) required by your API endpoint. For this example, we are using the GET method.
API URL: In Step 4, we explained how you can find the JIRA API endpoint that you need. Now copy the complete URL into the Apipheny add-on, where it says API URL Path (JSON / CSV), followed by any GET parameters required for your query.
For this example, we are using the Get current user endpoint, that gets information about the current user. The corresponding URL that we’re using for this endpoint is:
In the Headers section, add two rows with the following keys and values:
Header 1 Key: Authorization Value: Basic <encoded_string>
Header 2 Key: Content-Type Value: application/json
In header 1, the <encoded_string> value is the string obtained by base64-encoding the string containing the email address and the token you generated previously, in Step 3, separated by a colon (“:”).
You can use the base64 terminal command on Linux-type systems, or use the search term “base64 encoder” on Google to find web-based implementations.
Lastly, click the Run button at the bottom of the Apipheny add-on and then your JIRA API data will be imported into your Google Sheet:
And that’s how you can integrate JIRA with Google Sheets using Apipheny!
After making a successful request to the Jira API, try querying a different JIRA API endpoint, or try using one of the more advanced features in the Apipheny add-on, such as:
If you want to connect and import JIRA data into Google Data Studio, just follow the same steps, then connect your Google Sheets to Google Data Studio.