Sync Jira issues to Snowflake on a schedule
Recipe ToolsMarketingProject ManagementData ParserDatabase
What it does
When a scheduled time arrives, this automation fetches issues from Jira across all projects and syncs them to Snowflake in batches. It creates the table and columns if needed, then continues through all pages of results until every issue is loaded.
Who it's for
Data and analytics teams who need Jira issues in Snowflake for reporting without manual exports.
How teams use this
Load months of Jira data for analysis
Sync a configurable number of months of issues from all Jira projects into Snowflake on a schedule. The table and schema are created automatically on the first run.
Maintain Jira columns in Snowflake
When Jira issue fields change, this automation checks that all corresponding columns exist in Snowflake and adds any missing ones to keep the schema current.
Feed a Jira dashboard from Snowflake
Sync Jira issues to Snowflake so analytics teams can build dashboards and reports without querying Jira directly, reducing load on the system.
Include custom fields in the sync
Set up the automation to filter and include custom Jira fields in the Snowflake table so reports can reference project-specific metadata alongside standard issue data.
How it works
- Run on a schedule. At a specified interval, this automation starts and sets variables for how many months of issues to fetch and the batch size for each Snowflake load.
- Search Jira for issues. Query Jira for issues across all projects from the specified time period, returning results in pages based on the batch size.
- Parse JSON document. Convert the Jira response into JSON format using Json Parser so Snowflake can ingest the structured data from each batch.
- Replicate batch to Snowflake. Load the batch of issues into the JiraIssues table in Snowflake, creating the table and columns on first run if they do not exist.
- Repeat for remaining pages. If more issues exist beyond the current batch, update the starting point and loop back to fetch the next page until all issues are synced.