Empower your Jira data in a data lake with Amazon AppFlow and AWS Glue
For IT teams, the main value here is not the Jira connector itself but the data contract it creates between SaaS operations and analytics platforms. Moving Jira into S3 and the Glue Data Catalog gives engineering, product, and delivery teams a common query layer, but it also introduces a clear separation between immutable raw captures and a curated analytical model. That separation matters when records evolve over time, custom fields change, or downstream consumers need repeatable results rather than live application semantics.
The architectural trade-off is between ingestion simplicity and transformation responsibility. AppFlow handles the source extraction and incremental synchronization, while Glue, DataBrew, and Step Functions absorb schema shaping, deduplication, and orchestration. This keeps the pipeline serverless and reduces operational overhead, but it also means the team must own recipe maintenance, field mapping decisions, and any future changes in Jiraโs data shape. In practice, the hardest work is often not loading the data; it is preserving meaning as the schema and business usage evolve.
Operationally, the design creates an analytics-ready pipeline rather than a reporting shortcut. The raw table supports traceability and replay, while the transformed table supports BI and AI/ML workloads that expect flattened, current-state records. That makes it easier to feed Athena, QuickSight, or model pipelines without constantly reprocessing source exports. For platform teams, the key considerations are schedule cadence, cost control from incremental loads, and governance for sensitive project metadata that may now be broadly queryable across the lake.
In the world of software engineering and development, organizations use project management tools like Atlassian Jira Cloud. Managing projects with Jira leads to rich datasets, which can provide historical and predictive insights about project and development efforts.
Although Jira Cloud provides reporting capability, loading this data into a data lake will facilitate enrichment with other business data, as well as support the use of business intelligence (BI) tools and artificial intelligence (AI) and machine learning (ML) applications. Companies often take a data lake approach to their analytics, bringing data from many different systems into one place to simplify how the analytics are done.
This post shows you how to use Amazon AppFlow and AWS Glue to create a fully automated data ingestion pipeline that will synchronize your Jira data into your data lake. Amazon AppFlow provides software as a service (SaaS) integration with Jira Cloud to load the data into your AWS account. AWS Glue is a serverless data discovery, load, and transformation service that will prepare data for consumption in BI and AI/ML activities. Additionally, this post strives to achieve a low-code and serverless solution for operational efficiency and cost optimization, and the solution supports incremental loading for cost optimization.
Solution overview
This solution uses Amazon AppFlow to retrieve data from the Jira Cloud. The data is synchronized to anย Amazon Simple Storage Serviceย (Amazon S3) bucket using an initial full download and subsequent incremental downloads of changes. When new data arrives in the S3 bucket, anย AWS Step Functionsย workflow is triggered that orchestrates extract, transform, and load (ETL) activities usingย AWS Glueย crawlers andย AWS Glue DataBrew. The data is then available in the AWS Glue Data Catalog and can be queried by services such asย Amazon Athena,ย Amazon QuickSight, andย Amazon Redshift Spectrum. The solution is completely automated and serverless, resulting in low operational overhead. When this setup is complete, your Jira data will be automatically ingested and kept up to date in your data lake!
The following diagram illustrates the solution architecture.

The Step Functions workflow orchestrates the following ETL activities, resulting in two tables:
- An AWS Glue crawler collects all downloads into a single AWS Glue table namedย
jira_raw. This table is comprised of a mix of full and incremental downloads from Jira, with many versions of the same records representing changes over time. - A DataBrew job prepares the data for reporting by unpacking key-value pairs in the fields, as well as removing depreciated records as they are updated in subsequent change data captures. This reporting-ready data will available in an AWS Glue table namedย
jira_data.
The following figure shows the Step Functions workflow.

Prerequisites
This solution requires the following:
- Administrative access to your Jira Cloud instance, and an associated Jira Cloud developer account.
- Anย AWS accountย and a login with access to theย AWS Management Console. Your login will needย AWS Identity and Access Managementย (IAM) permissions to create and access the resources in your AWS account.
- Basic knowledge of AWS and working knowledge of Jira administration.
Configure the Jira Instance
After logging in to your Jira Cloud instance, you establish a Jira project with associated epics and issues to download into a data lake. If youโre starting with a new Jira instance, it helps to have at least one project with a sampling of epics and issues for the initial data download, because it allows you to create an initial dataset without errors or missing fields. Note that you may have multiple projects as well.

After you have established your Jira project and populated it with epics and issues, ensure you also have access to theย Jira developer portal. In later steps, you use this developer portal to establish authentication and permissions for the Amazon AppFlow connection.
Provision resources with AWS CloudFormation
For the initial setup, you launch anย AWS CloudFormationย stack to create an S3 bucket to store data, IAM roles for data access, and the AWS Glue crawler and Data Catalog components. Complete the following steps:
- Sign in to your AWS account.
- Clickย Launch Stack:
- Forย Stack name, enter a name for the stack (the default isย
aws-blog-jira-datalake-with-AppFlow). - Forย GlueDatabaseName, enter a unique name for the Data Catalog database to hold the Jira data table metadata (the default isย
jiralake). - Forย InitialRunFlag, chooseย Setup. This mode will scan all data and disable the change data capture (CDC) features of the stack. (Because this is the initial load, the stack needs an initial data load before you configure CDC in later steps.)
- Underย Capabilities and transforms, select the acknowledgement check boxes to allow IAM resources to be created within your AWS account.
- Review the parameters and chooseย Create stackย to deploy the CloudFormation stack. This process will take around 5โ10 minutes to complete.
ยย - After the stack is deployed, review theย Outputsย tab for the stack and collect the following values to use when you set up Amazon AppFlow:
- Amazon AppFlow destination bucket (
o01AppFlowBucket) - Amazon AppFlow destination bucket path (
o02AppFlowPath) - Role for Amazon AppFlow Jira connector (
o03AppFlowRole)
ยย
- Amazon AppFlow destination bucket (
Configure Jira Cloud
Next, you configure your Jira Cloud instance for access by Amazon AppFlow. For full instructions, refer toย Jira Cloud connector for Amazon AppFlow. The following steps summarize these instructions and discuss the specific configuration to enable OAuth in the Jira Cloud:
- Open theย Jira developer portal.
- Create the OAuth 2 integration from the developer application console by choosingย Createย anย OAuth 2.0 Integration. This will provide a login mechanism for AppFlow.
- Enable fine-grained permissions. Seeย Recommended scopesย for the permission settings to grant AppFlow appropriate access to your Jira instance.
- Add the following permission scopes to your OAuth app:
manage:jira-configurationread:field-configuration:jira
- Underย Authorization, set theย Call Back URLย to return to Amazon AppFlow with the URLย
https://us-east-1.console.aws.amazon.com/AppFlow/oauth. - Underย Settings, note the client ID and secret to use in later steps to set up authentication from Amazon AppFlow.
Create the Amazon AppFlow Jira Cloud connection
In this step, you configure Amazon AppFlow to run a one-time full data fetch of all your data, establishing the initial data lake:
- On the Amazon AppFlow console, chooseย Connectorsย in the navigation pane.
- Search for the Jira Cloud connector.
- Chooseย Create flowย on the connector tile to create the connection to your Jira instance.
ยย - Forย Flow name,ย enter a name for the flow (for example,ย
JiraLakeFlow). - Leave theย Data encryptionย setting as the default.
- Chooseย Next.
ยย - Forย Source name, keep the default ofย Jira Cloud.
- Chooseย Create new connectionย underย Jira Cloud connection.
ยย - In theย Connect to Jira Cloudย section, enter the values forย Client ID,ย Client secret, andย Jira Cloud Siteย that you collected earlier. This provides the authentication from AppFlow to Jira Cloud.
- Forย Connection Name, enter a connection name (for example,ย
JiraLakeCloudConnection). - Chooseย Connect. You will be prompted to allow your OAuth app to access your Atlassian account to verify authentication.
ยย - In theย Authorize Appย window that pops up, chooseย Accept.
- With the connection created, return to theย Configure flowย section on the Amazon AppFlow console.
- Forย API version, chooseย V2ย to use the latest Jira query API.
- Forย Jira Cloud object, chooseย Issueย to query and download all issues and associated details.
ยย - Forย Destination Nameย in theย Destination Detailsย section, chooseย Amazon S3.
- Forย Bucket details, choose the S3 bucket name that matches the Amazon AppFlow destination bucket value that you collected from the outputs of the CloudFormation stack.
- Enter the Amazon AppFlow destination bucket path to complete the full S3 path. This will send the Jira data to the S3 bucket created by the CloudFormation script.
- Leaveย Catalog your data in the AWS Glue Data Catalogย unselected. The CloudFormation script uses an AWS Glue crawler to update the Data Catalog in a different manner, grouping all the downloads into a common table, so we disable the update here.
- Forย File format settings, selectย Parquet formatย and selectย Preserve source data types in Parquet output. Parquet is a columnar format to optimize subsequent querying.
- Selectย Add a timestamp to the file nameย forย Filename preference. This will allow you to easily find data files downloaded at a specific date and time.
ยย - For now, selectย Run on Demandย for theย Flow triggerย to run the full load flow manually. You will schedule downloads in a later step when implementing CDC.
- Chooseย Next.
ยย - On theย Map data fieldsย page, selectย Manually map fields.
- Forย Source to destination field mapping, choose the drop-down box underย Source field nameย and selectย Map all fields directly. This will bring down all fields as they are received, because we will instead implement data preparation in later steps.
ยย - Underย Partition and aggregation settings, you can set up the partitions in a way that works for your use case. For this example, we use a daily partition, so selectย Date and timeย and chooseย Daily.
- Forย Aggregation settings, leave it as the default ofย Donโt aggregate.
- Chooseย Next.
ยย - On theย Add filtersย page, you can create filters to only download specific data. For this example, you download all the data, so chooseย Next.
- Review and chooseย Create flow.
- When the flow is created, chooseย Run flowย to start the initial data seeding. After some time, you should receive a banner indicating the run finished successfully.
ยย
Review seed data
At this stage in the process, you now have data in your S3 environment. When new data files are created in the S3 bucket, it will automatically run an AWS Glue crawler to catalog the new data. You can see if itโs complete by reviewing the Step Functions state machine for aย Succeededย run status. There is a link to the state machine on the CloudFormation stackโsย Resourcesย tab, which will redirect you to the Step Functions state machine.

When the state machine is complete, itโs time to review the raw Jira data with Athena. The database is as you specified in the CloudFormation stack (jiralakeย by default), and the table name isย jira_raw. If you kept the default AWS Glue database name ofย jiralake, the Athena SQL is as follows:
SELECT * FROM "jiralake"."jira_raw" limit 10;
If you explore the data, youโll notice that most of the data you would want to work with is actually packed into a column calledย fields. This means the data is not available as columns in your Athena queries, making it harder to select, filter, and sort individual fields within an Athena SQL query. This will be addressed in the next steps.

Set up CDC and unpack the fields columns
To add the ongoing CDC and reformat the data for analytics, we introduce a DataBrew job to transform the data and filter to the most recent version of each record as changes come in. You can do this by updating the CloudFormation stack with a flag that includes the CDC and data transformation steps.
- On the AWS CloudFormation console, return to the stack.
- Chooseย Update.
- Selectย Use current templateย and chooseย Next.
ยย - Forย SetupOrCDC, chooseย CDC, then chooseย Next. This will enable both the CDC steps and the data transformation steps for the Jira data.
ยย - Continue choosingย Nextย until you reach theย Reviewย section.
- Selectย I acknowledge that AWS CloudFormation might create IAM resources, then chooseย Submit.
ยย - Return to the Amazon AppFlow console and open your flow.
- On theย Actionsย menu, chooseย Edit flow. We will now edit the flow trigger to run an incremental load on a periodic basis.
- Selectย Run flow on schedule.
- Configure the desired repeats, as well as start time and date. For this example, we chooseย Dailyย forย Repeatsย and enter 1 for the number of days youโll have the flow trigger. Forย Starting at, enter 01:00.
- Selectย Incremental transferย forย Transfer mode.
- Chooseย Updatedย on the drop-down menu so that changes will be captured based on when the records were updated.
- Chooseย Save. With these settings in our example, the run will happen nightly at 1:00 AM.
ยย
Review the analytics data
When the next incremental load occurs that results in new data, the Step Functions workflow will start the DataBrew job and populate a new staged analytical data table namedย jira_dataย in your Data Catalog database. If you donโt want to wait, you can trigger the Step Functions workflow manually.
The DataBrew job performs data transformation and filtering tasks. The job unpacks the key-values from the Jira JSON data and the raw Jira data, resulting in a tabular data schema that facilitates use with BI and AI/ML tools. As Jira items are changed, the changed itemโs data is resent, resulting in multiple versions of an item in the raw data feed. The DataBrew job filters the raw data feed so that the resulting data table only contains the most recent version of each item. You could enhance this DataBrew job to further customize the data for your needs, such as renaming the generic Jira custom field names to reflect their business meaning.
When the Step Functions workflow is complete, we can query the data in Athena again using the following query:
SELECT * FROM "jiralake"."jira_data" limit 10;
You can see that in our transformedย jira_dataย table, the nested JSON fields are broken out into their own columns for each field. You will also notice that weโve filtered out obsolete records that have been superseded by more recent record updates in later data loads so the data is fresh. If you want to rename custom fields, remove columns, or restructure what comes out of the nested JSON, you can modify the DataBrew recipe to accomplish this. At this point, the data is ready to be used by your analytics tools, such asย Amazon QuickSight.

Clean up
If you would like to discontinue this solution, you can remove it with the following steps:
- On the Amazon AppFlow console, deactivate the flow for Jira, and optionally delete it.
- On the Amazon S3 console, select the S3 bucket for the stack, and empty the bucket to delete the existing data.
- On the AWS CloudFormation console, delete the CloudFormation stack that you deployed.
Conclusion
In this post, we created a serverless incremental data load process for Jira that will synchronize data while handling custom fields using Amazon AppFlow, AWS Glue, and Step Functions. The approach uses Amazon AppFlow to incrementally load the data into Amazon S3. We then use AWS Glue and Step Functions to manage the extraction of the Jira custom fields and load them in a format to be queried by analytics services such as Athena, QuickSight, or Redshift Spectrum, or AI/ML services likeย Amazon SageMaker.
To learn more about AWS Glue and DataBrew, refer toย Getting started with AWS Glue DataBrew. With DataBrew, you can take the sample data transformation in this project and customize the output to meet your specific needs. This could include renaming columns, creating additional fields, and more.
To learn more about Amazon AppFlow, refer toย Getting started with Amazon AppFlow. Note that Amazon AppFlow supports integrations with many SaaS applications in addition to the Jira Cloud.
To learn more about orchestrating flows with Step Functions, seeย Create a Serverless Workflow with AWS Step Functions and AWS Lambda. The workflow could be enhanced to load the data into a data warehouse, such asย Amazon Redshift, or trigger a refresh of a QuickSight dataset for analytics and reporting.
In future posts, we will cover how to unnest parent-child relationships within the Jira data using Athena and how to visualize the data using QuickSight.
About the Authors
Tom Romano is a Sr. Solutions Architect for AWS World Wide Public Sector from Tampa, FL, and assists GovTech and EdTech customers as they create new solutions that are cloud native, event driven, and serverless. He is an enthusiastic Python programmer for both application development and data analytics, and is an Analytics Specialist. In his free time, Tom flies remote control model airplanes and enjoys vacationing with his family around Florida and the Caribbean.
Shane Thompson is a Sr. Solutions Architect based out of San Luis Obispo, California, working with AWS Startups. He works with customers who use AI/ML in their business model and is passionate about democratizing AI/ML so that all customers can benefit from it. In his free time, Shane loves to spend time with his family and travel around the world.
Enjoyed this article? Sign up for our newsletter to receive regular insights and stay connected.
















