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

Test PR: jira add new streams #7202

Merged
merged 32 commits into from
Oct 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
0296c39
Create separate cache file per stream and add projects and start_date…
cjwooo Sep 30, 2021
2dd2391
Add project id to issue record
cjwooo Sep 30, 2021
7e162bd
Add projectId to issue schema
cjwooo Sep 30, 2021
73b9094
Add BoardIssues stream
cjwooo Sep 30, 2021
5817354
Add SprintIssues stream
cjwooo Sep 30, 2021
b7104f5
Add Epics stream and deduplicate state code
cjwooo Oct 1, 2021
f0d1588
Add EpicIssues stream and additional fields for Issues stream
cjwooo Oct 1, 2021
767e3fd
Add story points to sprint issues
cjwooo Oct 1, 2021
945a28f
Add new streams to test catalog
cjwooo Oct 1, 2021
c25b629
Update gitignore
cjwooo Oct 1, 2021
520b4dc
Rename cache boolean and fix test catalog
cjwooo Oct 1, 2021
a4476c0
Fix streams that depend on Issues stream
cjwooo Oct 5, 2021
fbfbd01
Merge branch 'master' into cwu/jira2
cjwooo Oct 6, 2021
09bd3ea
Fix sprint_issues stream
cjwooo Oct 7, 2021
252733b
Add more fields to issues stream and format
cjwooo Oct 7, 2021
5ced0ce
Add option to expand issue changelogs
cjwooo Oct 7, 2021
390d8bb
Remove epic_issues stream
cjwooo Oct 7, 2021
852a0df
Expand project descriptions
cjwooo Oct 8, 2021
da9b4c9
Show rendered fields for epics
cjwooo Oct 8, 2021
1e00ce4
Include project key
cjwooo Oct 8, 2021
64f30b5
Include project key in issues stream
cjwooo Oct 11, 2021
3672409
Merge branch 'master' into cwu/jira2
cjwooo Oct 14, 2021
f58559a
Address comments
cjwooo Oct 14, 2021
fa14746
Use CDK caching
cjwooo Oct 14, 2021
7f71d5b
Remove extra changes
cjwooo Oct 14, 2021
2b34aa4
Fix sprints stream reading from non-scrum boards
cjwooo Oct 14, 2021
2dc8a20
Format
cjwooo Oct 14, 2021
f6c123b
Merge branch 'cwu/jira2' of github.com:faros-ai/airbyte into marcos/t…
marcosmarxm Oct 19, 2021
3a20324
small fix and bump version
marcosmarxm Oct 20, 2021
88aba17
Merge branch 'master' into marcos/test-jira-add-new-streams
marcosmarxm Oct 20, 2021
5de1882
bump version
marcosmarxm Oct 20, 2021
edfd2d5
Merge branch 'marcos/test-jira-add-new-streams' of github.com:airbyte…
marcosmarxm Oct 20, 2021
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 @@ -2,7 +2,7 @@
"sourceDefinitionId": "68e63de2-bb83-4c7e-93fa-a8a9051e3993",
"name": "Jira",
"dockerRepository": "airbyte/source-jira",
"dockerImageTag": "0.2.11",
"dockerImageTag": "0.2.12",
"documentationUrl": "https://docs.airbyte.io/integrations/sources/jira",
"icon": "jira.svg"
}
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
- sourceDefinitionId: 68e63de2-bb83-4c7e-93fa-a8a9051e3993
name: Jira
dockerRepository: airbyte/source-jira
dockerImageTag: 0.2.11
dockerImageTag: 0.2.12
documentationUrl: https://docs.airbyte.io/integrations/sources/jira
icon: jira.svg
sourceType: api
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.11
LABEL io.airbyte.version=0.2.12
LABEL io.airbyte.name=airbyte/source-jira
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def check_connection(self, logger: AirbyteLogger, config: Mapping[str, Any]) ->

try:
authenticator = self.get_authenticator(config)
args = {"authenticator": authenticator, "domain": config["domain"]}
args = {"authenticator": authenticator, "domain": config["domain"], "projects": config["projects"]}
issue_resolutions = IssueResolutions(**args)
for item in issue_resolutions.read_records(sync_mode=SyncMode.full_refresh):
continue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def path(self, stream_slice: Mapping[str, Any] = None, **kwargs) -> str:

def read_records(self, stream_slice: Optional[Mapping[str, Any]] = None, **kwargs) -> Iterable[Mapping[str, Any]]:
issues_stream = Issues(authenticator=self.authenticator, domain=self._domain, projects=self._projects, start_date=self._start_date)
issue_property_keys_stream = IssuePropertyKeys(authenticator=self.authenticator, domain=self._domain)
issue_property_keys_stream = IssuePropertyKeys(authenticator=self.authenticator, domain=self._domain, projects=self._projects)
for issue in issues_stream.read_records(sync_mode=SyncMode.full_refresh):
for property_key in issue_property_keys_stream.read_records(stream_slice={"key": issue["key"]}, **kwargs):
yield from super().read_records(stream_slice={"key": property_key["key"], "issue_key": issue["key"]}, **kwargs)
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 @@ -85,6 +85,7 @@ The Jira connector should not run into Jira API limitations under normal usage.

| Version | Date | Pull Request | Subject |
| :--- | :--- | :--- | :--- |
| 0.2.12 | 2021-10-19 | [\#6621](https://github.com/airbytehq/airbyte/pull/6621) | Add Board, Epic, and Sprint streams |
| 0.2.11 | 2021-09-02 | [\#6523](https://github.com/airbytehq/airbyte/pull/6523) | Add cache and more streams \(boards and sprints\) |
| 0.2.9 | 2021-07-28 | [\#5426](https://github.com/airbytehq/airbyte/pull/5426) | Changed cursor field from fields.created to fields.updated for Issues stream. Made Issues worklogs stream full refresh. |
| 0.2.8 | 2021-07-28 | [\#4947](https://github.com/airbytehq/airbyte/pull/4947) | Source Jira: fixing schemas accordinately to response. |
Expand Down