Sync Jira issues to Google Drive every 5 minutes

Recipe ToolsMarketingProject ManagementDocument/FileSales Enablement

What it does

When a scheduled trigger runs every 5 minutes, this automation searches Jira for issues and creates folders in Google Drive. For each issue found, it downloads all attachments from Jira and uploads them to the matching folder.

Who it's for

Operations teams who need to back up Jira issues and attachments to Google Drive on a regular schedule.

How teams use this

Back up Jira issues and attachments

Run this automation on a schedule to copy all Jira issues and their attachments to Google Drive folders. The team gets an offsite backup without manual work.

Archive closed issues to Drive

Filter the Jira search to only include closed or resolved issues so only completed work is synced to Google Drive. This keeps the backup focused on finished projects.

Sync to a shared team folder

Change the Google Drive destination to a shared team folder instead of a personal one. The same sync runs but all team members can access the backup.

How it works

  1. Run every 5 minutes. This automation starts on a schedule, running every 5 minutes to keep Jira and Google Drive in sync.
  2. Search for issues in Jira. Search Jira for all issues that match the criteria, then retrieve the full details for each one including attachments.
  3. Create a folder per issue. For each issue found, create a folder in Google Drive with the issue key as the folder name to organize attachments.
  4. Download attachments from Jira. For each attachment in the issue, download the file from Jira so it can be moved to Google Drive.
  5. Upload files to Google Drive. Upload each downloaded attachment to the corresponding issue folder in Google Drive, then update the issue status in Jira.