Sync Google Drive documents to Jira issues
Recipe ToolsMarketingProject ManagementDocument/FileSales Enablement
What it does
When a scheduled trigger runs every 5 minutes, this automation searches Jira for issues and finds matching files in Google Drive. Each file is downloaded and uploaded as an attachment to the issue, then renamed in Google Drive and the issue is updated.
Who it's for
Engineering teams who need documents from Google Drive attached to Jira issues without manual uploads.
Apps used
How teams use this
Attach design files to development issues
Sync design documents from a Google Drive folder to Jira issues every 5 minutes so engineers always see the latest designs without checking Drive separately. The team workflow stays the same.
Route documents to support tickets
Point the automation at a support project in Jira so customer documents uploaded to Google Drive are attached to the matching support issue. Only the Jira project changes.
Filter files by folder or name pattern
Add a condition to search only files in a specific Google Drive folder or matching a naming pattern so the automation syncs only relevant documents. This requires setting a folder filter or file name rule.
Sync documents to multiple Jira projects
Include multiple Jira projects in the search so documents from one Google Drive folder are distributed to different project issues based on a naming convention or custom field. The sync interval and file handling stay the same.
How it works
- Run on a 5-minute schedule. This automation starts every 5 minutes so documents are synced to Jira regularly without someone having to start it.
- Search for issues in Jira. Find all issues that need documents attached so the automation knows which ones to update with files from Google Drive.
- Find and download matching files. Search Google Drive for files that correspond to each Jira issue, download the file contents, and prepare them for upload.
- Attach file and update issue. Upload the file as an attachment to the Jira issue and update the issue so the team sees the document is now linked.
- Rename file in Google Drive. Rename or move the file in Google Drive to mark it as synced and keep the folder organized for future runs.