Use Google actions with automation
Use Google actions with automation
You can use automation actions to connect your Jira Service Management projects with Google Calendar and Google Drive, letting you automate common productivity workflows directly from your automation rules. These actions let you retrieve calendar events, create and copy documents, manage comments, and more — without leaving Jira.
Before you begin: To use Google actions in your automation rules, you need to add a connection to Google Drive and Google Calendar in your Jira automation settings. Follow the authentication prompts to authorize access to your Google account.
Google Calendar actions
The following automation actions are available for Google Calendar.
Get calendar events
Use this action to retrieve calendar events for a specified date range from a user's Google Calendar so you can use them later in your rule — for example, to check for scheduling conflicts or trigger follow-up actions based on upcoming meetings.
Fields:
Field | Description | Required |
|---|---|---|
| The calendar to query. Use | Yes |
| The start of the date range. Use ISO 8601 format in UTC (for example, | Yes |
| The end of the date range. Use ISO 8601 format in UTC (for example, | Yes |
| The maximum number of events to return. Defaults to 250 when not provided. | No |
| The order in which to return events. Defaults to | No |
| The timezone for event times. If not provided, event times are returned in the calendar's default timezone. | No |
Tip: The Min time and Max time fields require ISO 8601 format in UTC. The format is YYYY-MM-DDTHH:MM:SSZ — for example, 2025-06-03T11:00:00Z. You can use smart values to generate these dynamically — for example, {{now.plusDays(1)}}.
Google Drive actions
The following automation actions are available for Google Drive.
Create blank document
Use this action to create a blank Google Drive document in a specified folder so it can be referenced later in the rule. This is useful for automatically generating project documentation when an issue is created.
Fields:
Field | Description | Required |
|---|---|---|
| The document name or title to create. You can use smart values — for example, | Yes |
| The destination folder. You can find the folder ID in the folder URL. | No |
Copy document
Use this action to copy an existing Google Drive document. The new document can inherit visibility and other options you specify. This is useful for creating documents from templates.
Fields:
Field | Description | Required |
|---|---|---|
| The ID of the source document. You can find it in the file URL. | Yes |
| Bypass the domain's default visibility for the created file. Permissions still inherit from parent folders. | No |
| Mark the new head revision to be kept forever. Applies to binary files; limited to 200 kept revisions. | No |
| ISO 639-1 language code (for example, | No |
| Whether the request supports both My Drive and shared drives. | No |
| Which additional view's permissions to include. Only | No |
| Comma-separated list of label IDs to include in the labelInfo part of the response. | No |
Delete document
Use this action to delete a Google Drive document by its ID.
Fields:
Field | Description | Required |
|---|---|---|
| The ID of the document to delete. You can find it in the file URL. | Yes |
| Whether the request supports both My Drive and shared drives. | No |
Note: Deleting a document is permanent and can't be undone via automation. Make sure you have the correct document ID before using this action in a live rule.
Delete comment
Use this action to delete a comment from a Google Drive document.
Fields:
Field | Description | Required |
|---|---|---|
| The document ID. You can find it in the file URL. | Yes |
| The ID of the comment to delete. | Yes |
Get comment replies
Use this action to list replies for a specific comment on a Google Drive document. Results can be used later in the rule.
Fields:
Field | Description | Required |
|---|---|---|
| The document ID. You can find it in the file URL. | Yes |
| The ID of the comment whose replies to fetch. | Yes |
| Include deleted replies. Deleted replies do not include the original content. | No |
| Maximum number of replies to return per page. | No |
| Continue a previous list request with the | No |
| Comma-separated list of fields to return. Prefix each field with | No |
Tip: To find a document or folder ID in Google Drive, open the file in your browser. The ID is the long string of characters in the URL between /d/ and /edit — for example, in https://docs.google.com/document/d/abc123xyz/edit, the ID is abc123xyz.
Example: Automatically create a document when a service request is created
Here's how you might use the Create blank document action in a real automation rule:
Trigger: Issue created → Issue type is Service request
Action: Google Drive — Create blank document
Name:
{{issue.key}} - {{issue.summary}}Folder: Your service request documents folder ID
Action: Add comment to issue
Comment:
A Google Doc has been created for this request.
Result: A new Google Doc named
JSM-456 - Set up new employee laptopis created in the designated folder, and a comment is added to the issue for visibility.
Was this helpful?