Skip to content

Jira Source: Added resolutiondate to fields on issues stream #13202

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

Merged
merged 4 commits into from
May 30, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
- name: Jira
sourceDefinitionId: 68e63de2-bb83-4c7e-93fa-a8a9051e3993
dockerRepository: airbyte/source-jira
dockerImageTag: 0.2.19
dockerImageTag: 0.2.20
documentationUrl: https://docs.airbyte.io/integrations/sources/jira
icon: jira.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3957,7 +3957,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-jira:0.2.19"
- dockerImage: "airbyte/source-jira:0.2.20"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/sources/jira"
connectionSpecification:
Expand Down
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.2.19
LABEL io.airbyte.version=0.2.20
LABEL io.airbyte.name=airbyte/source-jira
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ tests:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
empty_streams: ["epics", "screen_tab_fields", "sprint_issues", "sprints"]
timeout_seconds: 1800
# incremental:
# - config_path: "secrets/config.json"
# configured_catalog_path: "integration_tests/inc_configured_catalog.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,13 @@
"platform": {
"type": "boolean",
"description": "Indicates if the application role belongs to Jira platform (`jira-core`)."
},
"groupDetails": {
"type": ["null", "array"],
"description": "Group Details",
"items": { "type": ["null", "object"] }
}
},
"additionalProperties": false,
"additionalProperties": true,
"description": "Details of an application role."
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"description": "Epic summary"
},
"description": {
"type": ["string", "null"],
"type": ["string", "null", "object"],
"description": "Epic description"
},
"status": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
}
},
"issueId": {
"type": "number"
"type": "string"
},
"sprintId": {
"type": "number"
"type": "integer"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ def read_records(self, stream_slice: Optional[Mapping[str, Any]] = None, **kwarg
"parent",
"priority",
"project",
"resolutiondate",
"security",
"status",
"subtasks",
Expand Down Expand Up @@ -530,6 +531,8 @@ class IssueProperties(StartDateJiraStream):
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties/#api-rest-api-3-issue-issueidorkey-properties-propertykey-get
"""

primary_key = "key"

def path(self, stream_slice: Mapping[str, Any], **kwargs) -> str:
key = stream_slice["key"]
issue_key = stream_slice["issue_key"]
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/jira.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ The Jira connector should not run into Jira API limitations under normal usage.

| Version | Date | Pull Request | Subject |
| :--- | :--- | :--- | :--- |
| 0.2.20 | 2022-05-25 | [\#13202](https://github.com/airbytehq/airbyte/pull/13202) | Adds resolutiondate to `fields` object on `issues` stream |
| 0.2.19 | 2022-05-04 | [\#10835](https://github.com/airbytehq/airbyte/pull/10835) | Change description for array fields |
| 0.2.18 | 2021-12-23 | [\#7378](https://github.com/airbytehq/airbyte/pull/7378) | Adds experimental endpoint Pull Request |
| 0.2.17 | 2021-12-23 | [\#9079](https://github.com/airbytehq/airbyte/pull/9079) | Update schema for `filters` stream + fix fetching `filters` stream |
Expand Down