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

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

Merged
merged 4 commits into from
May 30, 2022
Merged

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

merged 4 commits into from
May 30, 2022

Conversation

Mainara
Copy link
Contributor

@Mainara Mainara commented May 25, 2022

What

This PR solves the problem of mapping the date and time when an issue was completed, which is extremely important for projects that use Airbyte to pull data from Jira and monitor the progress of activities.

How

I added the resolutiondate field in the fields object present in the stream issues,

Recommended reading order

  1. x.java
  2. y.python

User Impact

There is no breakchanges, just more information being returned in the stream issues.

Pre-merge Checklist

Updating a connector

Community member or Airbyter

  • Grant edit access to maintainers (instructions)
  • Secrets in the connector's spec are annotated with airbyte_secret
  • Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run ./gradlew :airbyte-integrations:connectors:<name>:integrationTest.
  • Code reviews completed
  • Documentation updated
    • Connector's README.md
    • Connector's bootstrap.md. See description and examples
    • Changelog updated in docs/integrations/<source or destination>/<name>.md including changelog. See changelog example
  • PR name follows PR naming conventions

@CLAassistant
Copy link

CLAassistant commented May 25, 2022

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the area/connectors Connector related issues label May 25, 2022
@github-actions github-actions bot added the area/documentation Improvements or additions to documentation label May 25, 2022
@marcosmarxm
Copy link
Member

@Mainara thanks, can you sign the CLA and bump the Dockerfile version?

@marcosmarxm
Copy link
Member

marcosmarxm commented May 25, 2022

/test connector=connectors/source-jira

🕑 connectors/source-jira https://github.com/airbytehq/airbyte/actions/runs/2387786563
❌ connectors/source-jira https://github.com/airbytehq/airbyte/actions/runs/2387786563
🐛 https://gradle.com/s/jgpwpzwkent6i

Build Failed

Test summary info:

=========================== short test summary info ============================
FAILED test_core.py::TestDiscovery::test_primary_keys_exist_in_schema[inputs0]
FAILED test_core.py::TestBasicRead::test_read[inputs5] - Failed: Please check...
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/plugin.py:56: Skipping TestFullRefresh.test_sequential_reads because not found in the config
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/plugin.py:56: Skipping TestIncremental.test_two_sequential_reads because not found in the config
============= 2 failed, 28 passed, 2 skipped in 157.57s (0:02:37) ==============

@marcosmarxm marcosmarxm self-assigned this May 25, 2022
@Mainara
Copy link
Contributor Author

Mainara commented May 26, 2022

@Mainara thanks, can you sign the CLA and bump the Dockerfile version?

@marcosmarxm I made the changes. 😃

@Mainara Mainara changed the title Added resolutiondate to fields on issues stream (jira source) Jira Source: Added resolutiondate to fields on issues stream May 26, 2022
@marcosmarxm
Copy link
Member

marcosmarxm commented May 30, 2022

/test connector=connectors/source-jira

🕑 connectors/source-jira https://github.com/airbytehq/airbyte/actions/runs/2411037853
✅ connectors/source-jira https://github.com/airbytehq/airbyte/actions/runs/2411037853
Python tests coverage:

Name                                                 Stmts   Miss  Cover
------------------------------------------------------------------------
source_acceptance_test/utils/__init__.py                 6      0   100%
source_acceptance_test/tests/__init__.py                 4      0   100%
source_acceptance_test/__init__.py                       2      0   100%
source_acceptance_test/tests/test_full_refresh.py       52      2    96%
source_acceptance_test/utils/asserts.py                 37      2    95%
source_acceptance_test/config.py                        77      6    92%
source_acceptance_test/utils/json_schema_helper.py     105     13    88%
source_acceptance_test/tests/test_incremental.py       121     25    79%
source_acceptance_test/utils/common.py                  80     17    79%
source_acceptance_test/tests/test_core.py              294    106    64%
source_acceptance_test/utils/compare.py                 62     23    63%
source_acceptance_test/base.py                          10      4    60%
source_acceptance_test/utils/connector_runner.py       110     48    56%
------------------------------------------------------------------------
TOTAL                                                  960    246    74%

Build Passed

Test summary info:

=========================== short test summary info ============================
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/plugin.py:56: Skipping TestFullRefresh.test_sequential_reads because not found in the config
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/source_acceptance_test/plugin.py:56: Skipping TestIncremental.test_two_sequential_reads because not found in the config
================== 30 passed, 2 skipped in 165.62s (0:02:45) ===================

@marcosmarxm
Copy link
Member

marcosmarxm commented May 30, 2022

/publish connector=connectors/source-jira

🕑 connectors/source-jira https://github.com/airbytehq/airbyte/actions/runs/2411096020
🚀 Successfully published connectors/source-jira
❌ Couldn't auto-bump version for connectors/source-jira

@marcosmarxm
Copy link
Member

marcosmarxm commented May 30, 2022

/publish connector=connectors/source-jira auto-bump-version=false

🕑 connectors/source-jira https://github.com/airbytehq/airbyte/actions/runs/2411174279
❌ Failed to publish connectors/source-jira

@marcosmarxm
Copy link
Member

marcosmarxm commented May 30, 2022

/publish connector=connectors/source-jira auto-bump-version=false

🕑 connectors/source-jira https://github.com/airbytehq/airbyte/actions/runs/2411206311
🚀 Successfully published connectors/source-jira
✅ connectors/source-jira https://github.com/airbytehq/airbyte/actions/runs/2411206311

@marcosmarxm marcosmarxm merged commit 1d1476e into airbytehq:master May 30, 2022
jscottpolevault pushed a commit to jscottpolevault/airbyte that referenced this pull request Jun 1, 2022
…hq#13202)

* Added resolutiondate to fields on issues stream (jira source)

* updated jira source changelog

* updated dockerfile version

* correct jira ci

Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants