Github checks integration for Jira status
AWS Lambda implementation that handles webhooks from Jira and updates status checks on Github for related PRs.
- Update configuration in config.py.
- Deploy using serverless.
Add webhook https://<host>.atlassian.net/plugins/servlet/webhooks, point it to the deployed function.
- Events: None
- Exclude body: No
For each transition that should update the github status
-
Add required transition properties:
- githubCheckState: pending, success, failure, error (refer to github docs)
- githubCheckDescription: <state description>
-
Add post function:
- Add call to the webhook configured above.