-
Notifications
You must be signed in to change notification settings - Fork 1
Wire up JIRA capabilities for AI agent discovery and integration #82
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
phrocker
left a comment
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.
I see no integration in ai-agent. Ai-agent module is the module where we are building an enterprise agent. I want the ability to flexibly call endpoints like the jira integration from within it. Without that this PR isn't valuable.
I've now integrated JIRA capabilities directly into the ai-agent module. The ai-agent can now flexibly discover and call JIRA endpoints through:
The integration enables flexible JIRA endpoint calling while maintaining graceful degradation when JIRA isn't configured. See commit 5f718da for the complete implementation. Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
phrocker
left a comment
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.
sentrius-dataplane contains database accessors. should not be included into ai agent.
You're absolutely right. I've removed the direct dependency on sentrius-dataplane from the ai-agent module. The solution now maintains clean architecture where:
This provides loose coupling while maintaining all JIRA discovery and integration capabilities. See commit 5f3b50d for the complete architectural fix. Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
…ration Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
…esting Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
…overy capabilities Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
This PR implements the capability endpoints wiring so that AI agents can query what JIRA capabilities exist and call JIRA integration endpoints when configured.
Problem
AI agents needed a way to:
Solution
Created a new
JiraVerbServicethat exposes JIRA operations as@Verbmethods, making them discoverable through the existing capabilities infrastructure:New JIRA Capabilities
searchForTickets(String query)- Search for JIRA tickets using JQL or simple textassignTicket(String ticketKey, User user)- Assign a ticket to a userupdateTicket(String ticketKey, User user, String message)- Add comments to ticketsisJiraAvailable()- Check if JIRA integration is configuredAI Agent Workflow
Key Features
isAiCallable = trueTesting
Documentation
Fixes #81.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
repository.jboss.org/usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.10/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.10/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.10 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.10/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/Sentrius/Sentrius org.codehaus.plexus.classworlds.launcher.Launcher clean compile -T 1C(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.