-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat: Add Jira ticket auto-transition support #5367
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
Conversation
- Add transition_to parameter to Jira provider for automatic status changes - Implement __get_available_transitions() to fetch available transitions - Implement __transition_issue() to execute status transitions - Add TRANSITION_ISSUES scope to provider scopes - Support case-insensitive transition names - Add helpful error messages when invalid transitions are used - Add workflow examples for auto-creating and auto-closing tickets This allows users to automatically close Jira tickets when Keep alerts are resolved, reducing manual work and improving incident response workflow.
@Eliesmbr is attempting to deploy a commit to the KeepHQ Team on Vercel. A member of the Team first needs to authorize it. |
No linked issues found. Please add the corresponding issues in the pull request description. |
The latest updates on your projects. Learn more about Vercel for GitHub. |
Head branch was pushed to by a user without write access
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
🏆 Fantastic work @Eliesmbr! Your very first PR to keep has been merged! 🎉🥳 You've just taken your first step into open-source, and we couldn't be happier to have you onboard. 🙌 For any support, feel free to reach out on the community: https://slack.keephq.dev. Happy coding! 👩💻👨💻 |
Summary
This PR adds support for automatic Jira ticket transitions when alerts are resolved, enabling workflows that automatically close tickets.
Changes
transition_to
parameter to Jira provider's_notify()
method__get_available_transitions()
to fetch available transitions for an issue__transition_issue()
to execute status transitions by name or IDTRANSITION_ISSUES
scope to provider scopes listUse Case
Organizations using Keep for alerting often want Jira tickets to automatically reflect alert status. This PR enables:
This reduces manual work and ensures Jira boards stay up-to-date with actual ticket status.
Example Usage
Workflow 1: Create ticket on alert
Workflow 2: Auto-close ticket when resolved
✅ Checks
ℹ Additional Information
Screenshots
Breaking Changes
None - this is a backward-compatible addition.