Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Source Jira: fix incorrect types in issue schema #31080

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-jira/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.9.0
LABEL io.airbyte.version=1.0.0
LABEL io.airbyte.name=airbyte/source-jira

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion airbyte-integrations/connectors/source-jira/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 68e63de2-bb83-4c7e-93fa-a8a9051e3993
dockerImageTag: 0.9.0
dockerImageTag: 1.0.0
maxSecondsBetweenMessages: 21600
dockerRepository: airbyte/source-jira
githubIssueLabel: source-jira
Expand All @@ -18,6 +18,11 @@ data:
oss:
enabled: true
releaseStage: generally_available
releases:
breakingChanges:
1.0.0:
message: "The types for `aggegatetimeoriginalestimate` and `timeoriginalestimate` in the `issues` stream have been changed to `string`. You may need to refresh the connection schema for this stream (skipping the reset), and running a sync. Alternatively, you can just run a reset."
upgradeDeadline: "2023-10-24"
suggestedStreams:
streams:
- issues
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"type": ["null", "string"]
},
"aggregatetimeoriginalestimate": {
"type": ["null", "array"]
"type": ["null", "string"]
},
"versions": {
"type": ["null", "string"]
Expand All @@ -110,7 +110,7 @@
}
},
"timeoriginalestimate": {
"type": ["null", "integer"]
"type": ["null", "string"]
},
"description": {
"type": ["null", "string"]
Expand Down
4 changes: 4 additions & 0 deletions docs/integrations/sources/jira-migrations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Jira Migration Guide

## Upgrading to 1.0.0
The types for `aggegatetimeoriginalestimate` and `timeoriginalestimate` in the `issues` stream have been changed to `string`. You may need to refresh the connection schema for this stream (skipping the reset), and running a sync. Alternatively, you can just run a reset.
1 change: 1 addition & 0 deletions docs/integrations/sources/jira.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ The Jira connector should not run into Jira API limitations under normal usage.

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:-----------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------|
| 1.0.0 | 2023-10-09 | [\#31080](https://github.com/airbytehq/airbyte/pull/31080) | Fix types in `issues` schema |
| 0.9.0 | 2023-09-26 | [\#30688](https://github.com/airbytehq/airbyte/pull/30688) | Added `createdDate` field to sprints schema, Removed `Expand Issues stream` from spec |
| 0.8.0 | 2023-09-26 | [\#30755](https://github.com/airbytehq/airbyte/pull/30755) | Add new streams: `Issue custom field options`, `IssueTypes`, `Project Roles` |
| 0.7.2 | 2023-09-19 | [\#30675](https://github.com/airbytehq/airbyte/pull/30675) | Ensure invalid URL does not trigger Sentry alert |
Expand Down
Loading