-
Notifications
You must be signed in to change notification settings - Fork 72
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
[Integration][Jira] Added support for oauth2 for live events #1429
Conversation
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Code Suggestions ✨Explore these optional code suggestions:
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
User description
Description
What - Added support for live events using OAuth2 bearer token for authentication
Why - Enabling oauth flow for creating integrations including live events
How - Adding a new flow for creating webhooks using the REST API v3 of Jira for creating dynamic webhooks
Type of change
Please leave one option from the following and delete the rest:
All tests should be run against the port production environment(using a testing org).
Core testing checklist
Integration testing checklist
examples
folder in the integration directory.Preflight checklist
Screenshots
Include screenshots from your environment showing how the resources of the integration will look.
API Documentation
Provide links to the API documentation used for this integration.
PR Type
Enhancement, Tests
Description
Added OAuth2 support for Jira live events using webhooks.
Refactored webhook creation logic for OAuth and non-OAuth hosts.
Updated tests to validate new webhook creation flow.
Incremented version and updated changelog for release.
Changes walkthrough 📝
client.py
Add OAuth2 webhook creation and refactor logic
integrations/jira/jira/client.py
is_oauth_host
method to determine host type.non-OAuth.
main.py
Update webhook setup to use new method
integrations/jira/main.py
create_webhooks
method.test_client.py
Update tests for new webhook creation logic
integrations/jira/tests/test_client.py
create_webhooks
instead ofcreate_events_webhook
.CHANGELOG.md
Update changelog for OAuth live events support
integrations/jira/CHANGELOG.md
pyproject.toml
Bump version to 0.3.2
integrations/jira/pyproject.toml