Skip to content

Commit 1d1476e

Browse files
Mainaramarcosmarxm
andauthored
Jira Source: Added resolutiondate to fields on issues stream (#13202)
* Added resolutiondate to fields on issues stream (jira source) * updated jira source changelog * updated dockerfile version * correct jira ci Co-authored-by: marcosmarxm <[email protected]>
1 parent ae95d29 commit 1d1476e

File tree

9 files changed

+17
-7
lines changed

9 files changed

+17
-7
lines changed

airbyte-config/init/src/main/resources/seed/source_definitions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@
438438
- name: Jira
439439
sourceDefinitionId: 68e63de2-bb83-4c7e-93fa-a8a9051e3993
440440
dockerRepository: airbyte/source-jira
441-
dockerImageTag: 0.2.19
441+
dockerImageTag: 0.2.20
442442
documentationUrl: https://docs.airbyte.io/integrations/sources/jira
443443
icon: jira.svg
444444
sourceType: api

airbyte-config/init/src/main/resources/seed/source_specs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3957,7 +3957,7 @@
39573957
supportsNormalization: false
39583958
supportsDBT: false
39593959
supported_destination_sync_modes: []
3960-
- dockerImage: "airbyte/source-jira:0.2.19"
3960+
- dockerImage: "airbyte/source-jira:0.2.20"
39613961
spec:
39623962
documentationUrl: "https://docs.airbyte.io/integrations/sources/jira"
39633963
connectionSpecification:

airbyte-integrations/connectors/source-jira/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ RUN pip install .
1212
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
1313
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1414

15-
LABEL io.airbyte.version=0.2.19
15+
LABEL io.airbyte.version=0.2.20
1616
LABEL io.airbyte.name=airbyte/source-jira

airbyte-integrations/connectors/source-jira/acceptance-test-config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ tests:
2929
- config_path: "secrets/config.json"
3030
configured_catalog_path: "integration_tests/configured_catalog.json"
3131
empty_streams: ["epics", "screen_tab_fields", "sprint_issues", "sprints"]
32+
timeout_seconds: 1800
3233
# incremental:
3334
# - config_path: "secrets/config.json"
3435
# configured_catalog_path: "integration_tests/inc_configured_catalog.json"

airbyte-integrations/connectors/source-jira/source_jira/schemas/application_roles.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,13 @@
5050
"platform": {
5151
"type": "boolean",
5252
"description": "Indicates if the application role belongs to Jira platform (`jira-core`)."
53+
},
54+
"groupDetails": {
55+
"type": ["null", "array"],
56+
"description": "Group Details",
57+
"items": { "type": ["null", "object"] }
5358
}
5459
},
55-
"additionalProperties": false,
60+
"additionalProperties": true,
5661
"description": "Details of an application role."
5762
}

airbyte-integrations/connectors/source-jira/source_jira/schemas/epics.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"description": "Epic summary"
3535
},
3636
"description": {
37-
"type": ["string", "null"],
37+
"type": ["string", "null", "object"],
3838
"description": "Epic description"
3939
},
4040
"status": {

airbyte-integrations/connectors/source-jira/source_jira/schemas/sprint_issues.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@
5757
}
5858
},
5959
"issueId": {
60-
"type": "number"
60+
"type": "string"
6161
},
6262
"sprintId": {
63-
"type": "number"
63+
"type": "integer"
6464
}
6565
}
6666
}

airbyte-integrations/connectors/source-jira/source_jira/streams.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ def read_records(self, stream_slice: Optional[Mapping[str, Any]] = None, **kwarg
373373
"parent",
374374
"priority",
375375
"project",
376+
"resolutiondate",
376377
"security",
377378
"status",
378379
"subtasks",
@@ -530,6 +531,8 @@ class IssueProperties(StartDateJiraStream):
530531
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-properties/#api-rest-api-3-issue-issueidorkey-properties-propertykey-get
531532
"""
532533

534+
primary_key = "key"
535+
533536
def path(self, stream_slice: Mapping[str, Any], **kwargs) -> str:
534537
key = stream_slice["key"]
535538
issue_key = stream_slice["issue_key"]

docs/integrations/sources/jira.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ The Jira connector should not run into Jira API limitations under normal usage.
9595

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

0 commit comments

Comments
 (0)