Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Commit 7054ad4

Browse files
fivetran-joemarkiewiczgithub-actions[bot]fivetran-data-model-botfivetran-catfritz
authored
freature/work-type-support (#47)
* freature/work-type-support * changelog and other minor updates * Generate dbt docs via GitHub Actions * Q2 FY26 Automatic Package Updates (#48) * Q2 FY26: Apply automated update. * Update CHANGELOG.md * Update README.md --------- Co-authored-by: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Fivetran Maintainer Bot <129092423+fivetran-data-model-bot@users.noreply.github.com> Co-authored-by: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com>
1 parent 8699775 commit 7054ad4

15 files changed

Lines changed: 171 additions & 56 deletions

File tree

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,38 @@
1-
## PR Overview
2-
**This PR will address the following Issue/Feature:**
1+
<!--
2+
Pre-Submission Reminders
3+
Before marking this PR as "ready for review":
34
4-
**This PR will result in the following new package version:**
5-
<!--- Please add details around your decision for breaking vs non-breaking version upgrade. If this is a breaking change, were backwards-compatible options explored? -->
5+
- `dbt run --full-refresh && dbt test`
6+
- `dbt run` && `dbt test` (if incremental models are present)
7+
- The related issue is linked, tagged, and appropriately assigned
8+
- Documentation and version updates are included, if applicable
9+
- `docs` have been regenerated (unless there are no code or YAML changes)
10+
- BuildKite integration tests are passing
11+
-->
612

7-
**Please provide the finalized CHANGELOG entry which details the relevant changes included in this PR:**
8-
<!--- Copy/paste the CHANGELOG for this version below. -->
13+
## PR Overview
14+
**Package version introduced in this PR:**
15+
-
916

10-
## PR Checklist
11-
### Basic Validation
12-
Please acknowledge that you have successfully performed the following commands locally:
13-
- [ ] dbt run –full-refresh && dbt test
14-
- [ ] dbt run (if incremental models are present) && dbt test
17+
**This PR addresses the following Issue/Feature(s):**
18+
<!-- Add Issue # or internal ticket reference -->
19+
-
1520

16-
Before marking this PR as "ready for review" the following have been applied:
17-
- [ ] The appropriate issue has been linked, tagged, and properly assigned
18-
- [ ] All necessary documentation and version upgrades have been applied
19-
- [ ] docs were regenerated (unless this PR does not include any code or yml updates)
20-
- [ ] BuildKite integration tests are passing
21-
- [ ] Detailed validation steps have been provided below
21+
**Summary of changes:**
22+
<!-- 1-2 sentences describing PR changes. -->
23+
-
2224

23-
### Detailed Validation
24-
Please share any and all of your validation steps:
25-
<!--- Provide the steps you took to validate your changes below. -->
25+
### Submission Checklist
26+
- [ ] Alignment meeting with the reviewer (if needed)
27+
- [ ] Timeline and validation requirements discussed
28+
- [ ] Provide validation details:
29+
- [ ] **Validation Steps:** Check for unintentional effects (e.g., add/run consistency & integrity tests)
30+
- [ ] **Testing Instructions:** Confirm the change addresses the issue(s)
31+
- [ ] **Focus Areas:** Complex logic or queries that need extra attention
32+
- [ ] Merge any relevant open PRs into this PR
2633

27-
### If you had to summarize this PR in an emoji, which would it be?
28-
<!--- For a complete list of markdown compatible emojis check our this git repo (https://gist.github.com/rxaviers/7360908) -->
29-
:dancer:
34+
### Changelog
35+
<!-- Recommend drafting changelog notes, then refining via ChatGPT using:
36+
"Draft a changelog entry based on the following notes." -->
37+
- [ ] Draft changelog for PR
38+
- [ ] Final changelog for release review

.github/workflows/auto-release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ on:
33
pull_request:
44
types:
55
- closed
6-
branches:
7-
- main
6+
- labeled
87

98
jobs:
10-
call-workflow-passing-data:
11-
if: github.event.pull_request.merged
12-
uses: fivetran/dbt_package_automations/.github/workflows/auto-release.yml@main
13-
secrets: inherit
9+
release:
10+
if: |
11+
(github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main') ||
12+
github.event.label.name == 'pre-release'
13+
uses: fivetran/dbt_package_automations/.github/workflows/auto-release.yml@feature/pre-release-support
14+
secrets: inherit
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: 'generate dbt docs'
2+
on:
3+
pull_request:
4+
types:
5+
- labeled
6+
7+
jobs:
8+
generate-docs:
9+
if: github.event.label.name == 'docs:ready'
10+
uses: fivetran/dbt_package_automations/.github/workflows/generate-docs.yml@main
11+
secrets: inherit
12+
with:
13+
schema_var_name: jira_schema

.gitignore

Lines changed: 69 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,73 @@
1-
target/
1+
# dbt
2+
**/package-lock.yml
3+
package-lock.yml
4+
.dbt/
25
dbt_modules/
6+
dbt_packages/
37
logs/
8+
profiles.yml
9+
target/
10+
*.log
11+
12+
# IDE files
13+
.idea/
14+
.vscode/
15+
*~
16+
*.swp
17+
*.swo
18+
19+
# Jupyter Notebook
20+
.ipynb_checkpoints
21+
22+
# OS generated files
23+
**/.DS_Store
424
.DS_Store
5-
dbt_packages/
25+
.Spotlight-V100
26+
.Trashes
27+
._*
28+
Thumbs.db
29+
ehthumbs.db
30+
31+
# Python
32+
*.egg
33+
*.egg-info/
34+
*.py[cod]
35+
*.so
36+
*$py.class
37+
.Python
38+
__pycache__/
39+
build/
40+
develop-eggs/
41+
dist/
42+
downloads/
43+
eggs/
44+
.env
45+
.installed.cfg
46+
lib/
47+
lib64/
48+
MANIFEST
49+
parts/
50+
sdist/
51+
var/
52+
wheels/
53+
54+
# Secrets and credentials
55+
.env.*
56+
.secrets
57+
credentials.json
58+
service-account.json
59+
60+
# Temporary files
61+
.cache/
62+
*.temp
63+
*.tmp
64+
65+
# Virtual environments
66+
.conda/
67+
.env
68+
.venv
69+
ENV/
670
env/
7-
package-lock.yml
71+
env.bak/
72+
venv/
73+
venv.bak/

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
# dbt_jira_source v0.9.1
2+
3+
[PR #47](https://github.com/fivetran/dbt_jira_source/pull/47) introduces the following updates:
4+
5+
## Feature Updates
6+
- Added support for Jira's `work_type` field within the `stg_jira__issue` model.
7+
- The `stg_jira__issue` staging model now coalesces `work_type` with `issue_type` to generate the `issue_type_id` field with preference on `work_type`.
8+
- This change aligns with [Atlassian's recent update](https://community.atlassian.com/forums/Jira-articles/It-s-here-Work-is-the-new-collective-term-for-all-items-you/ba-p/2954892), where “work item” is replacing the term “issue” across Jira. This ensures compatibility as Jira evolves.
9+
10+
## Under the Hood
11+
- Introduced the generate-docs github workflow for consistent docs generation.
12+
- Included an updated version of the maintainer pull request template.
13+
- Updated the `issue` seed file to include the `work_type` field for integration testing.
14+
15+
[PR #48](https://github.com/fivetran/dbt_jira_source/pull/48) includes the following updates:
16+
17+
## July 2025 Updates
18+
- Updated conditions in `.github/workflows/auto-release.yml`.
19+
- Added `+docs: show: False` to `integration_tests/dbt_project.yml`.
20+
- Migrated `flags` (e.g., `send_anonymous_usage_stats`, `use_colors`) from `sample.profiles.yml` to `integration_tests/dbt_project.yml`.
21+
- Updated `.gitignore` to exclude additional DBT, Python, and system artifacts.
22+
123
# dbt_jira_source v0.9.0
224

325
[PR #45](https://github.com/fivetran/dbt_jira_source/pull/45) includes the following updates:

README.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@
55
href="https://github.com/fivetran/dbt_jira_source/blob/main/LICENSE">
66
<img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" /></a>
77
<a alt="dbt-core">
8-
<img src="https://img.shields.io/badge/dbt_Core™_version->=1.3.0_<2.0.0-orange.svg" /></a>
8+
<img src="https://img.shields.io/badge/dbt_Core™_version->=1.3.0_,<2.0.0-orange.svg" /></a>
99
<a alt="Maintained?">
1010
<img src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" /></a>
1111
<a alt="PRs">
1212
<img src="https://img.shields.io/badge/Contributions-welcome-blueviolet" /></a>
13-
<a alt="Fivetran Quickstart Compatible"
14-
href="https://fivetran.com/docs/transformations/dbt/quickstart">
15-
<img src="https://img.shields.io/badge/Fivetran_Quickstart_Compatible%3F-yes-green.svg" /></a>
1613
</p>
1714

1815
## What does this dbt package do?
@@ -69,7 +66,7 @@ vars:
6966

7067
### (Optional) Step 5: Additional configurations
7168
<details><summary>Expand to view configurations</summary>
72-
69+
7370
#### Change the build schema
7471
By default, this package builds the Jira staging models within a schema titled (`<target_schema>` + `_source_jira`) in your destination. If this is not where you would like your Jira staging data to be written to, add the following configuration to your root `dbt_project.yml` file:
7572

@@ -78,25 +75,25 @@ models:
7875
jira_source:
7976
+schema: my_new_schema_name # leave blank for just the target_schema
8077
```
81-
78+
8279
#### Change the source table references
8380
If an individual source table has a different name than the package expects, add the table name as it appears in your destination to the respective variable:
8481
> IMPORTANT: See this project's [`dbt_project.yml`](https://github.com/fivetran/dbt_jira_source/blob/main/dbt_project.yml) variable declarations to see the expected names.
85-
82+
8683
```yml
8784
vars:
8885
jira_<default_source_table_name>_identifier: your_table_name
8986
```
90-
87+
9188
</details>
9289

9390
### (Optional) Step 6: Orchestrate your models with Fivetran Transformations for dbt Core™
9491
<details><summary>Expand to view details</summary>
9592
<br>
96-
93+
9794
Fivetran offers the ability for you to orchestrate your dbt project through [Fivetran Transformations for dbt Core™](https://fivetran.com/docs/transformations/dbt). Learn how to set up your project for orchestration through Fivetran in our [Transformations for dbt Core™ setup guides](https://fivetran.com/docs/transformations/dbt#setupguide).
9895
</details>
99-
96+
10097
## Does this package have dependencies?
10198
This dbt package is dependent on the following dbt packages. These dependencies are installed by default within this package. For more information on the following packages, refer to the [dbt hub](https://hub.getdbt.com/) site.
10299
> IMPORTANT: If you have any of these dependent packages in your own `packages.yml` file, we highly recommend that you remove them from your root `packages.yml` to avoid package version conflicts.
@@ -111,7 +108,7 @@ packages:
111108
- package: dbt-labs/spark_utils
112109
version: [">=0.3.0", "<0.4.0"]
113110
```
114-
111+
115112
## How is this package maintained and can I contribute?
116113
### Package Maintenance
117114
The Fivetran team maintaining this package _only_ maintains the latest version of the package. We highly recommend that you stay consistent with the [latest version](https://hub.getdbt.com/fivetran/jira_source/latest/) of the package and refer to the [CHANGELOG](https://github.com/fivetran/dbt_jira_source/blob/main/CHANGELOG.md) and release notes for more information on changes across versions.

dbt_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'jira_source'
2-
version: '0.8.0'
2+
version: '0.9.1'
33
config-version: 2
44
require-dbt-version: [">=1.3.0", "<2.0.0"]
55
vars:

docs/catalog.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/manifest.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

integration_tests/dbt_project.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'jira_source_integration_tests'
2-
version: '0.9.0'
2+
version: '0.9.1'
33
config-version: 2
44
profile: 'integration_tests'
55

@@ -34,6 +34,8 @@ models:
3434
+schema: "{{ 'jira_source_integrations_tests_sqlw' if target.name == 'databricks-sql' else 'jira_source' }}"
3535

3636
seeds:
37+
+docs:
38+
show: False
3739
jira_source_integration_tests:
3840
+column_types:
3941
_fivetran_synced: timestamp
@@ -85,4 +87,5 @@ dispatch:
8587
search_order: ['spark_utils', 'dbt_utils']
8688

8789
flags:
88-
send_anonymous_usage_stats: False
90+
send_anonymous_usage_stats: False
91+
use_colors: True

0 commit comments

Comments
 (0)