Apipheny is a free API connector for Google Sheets. You can use Apipheny to connect your Google Sheets to API data sources, easily.
1.) Install Apipheny by opening the following link on desktop and then clicking the Install button in the Google Marketplace: https://apipheny.io/install
2.) After you’ve installed Apipheny, open a Google Sheet and then click on the Extensions dropdown in the menu at the top.
In the dropdown list you should see Apipheny. Click Apipheny then click Import API to open the Apipheny sidebar in your Google Sheet.
Tip: you can open a new Google Sheet by entering this URL in your browser:
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:
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.
Crypto API Tutorials: