Configure PM Bot backend with MCP integration for intelligent Jira/GitHub ticket management#1
Draft
Configure PM Bot backend with MCP integration for intelligent Jira/GitHub ticket management#1
Conversation
Co-authored-by: vivekvinodh <5590649+vivekvinodh@users.noreply.github.com>
Co-authored-by: vivekvinodh <5590649+vivekvinodh@users.noreply.github.com>
Co-authored-by: vivekvinodh <5590649+vivekvinodh@users.noreply.github.com>
Co-authored-by: vivekvinodh <5590649+vivekvinodh@users.noreply.github.com>
Co-authored-by: vivekvinodh <5590649+vivekvinodh@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Configure backend logic for @pmbot agent
Configure PM Bot backend with MCP integration for intelligent Jira/GitHub ticket management
Nov 21, 2025
Collaborator
|
@copilot Can we remove everything from the old repo that we no longer need |
Co-authored-by: vivekvinodh <5590649+vivekvinodh@users.noreply.github.com>
Author
Removed all old Slack AI chatbot features. Deleted 15 files (~462 lines) including app home, slash commands, channel summarization, user state management, and OAuth setup. PM Bot now focuses exclusively on Jira/GitHub ticket management via mentions and DMs. All tests still pass. Commit: 5f41c92 |
Co-authored-by: vivekvinodh <5590649+vivekvinodh@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Transforms Slack AI chatbot into @pmbot - an intelligent agent that drafts Jira tickets from natural language using Model Context Protocol (MCP) to fetch GitHub context and enforce documentation standards (DoD/AC in Gherkin format).
Architecture
MCP Integration Layer (
/mcp):jira_mcp.py- Ticket CRUD operations, duplicate detection, project metadatagithub_mcp.py- Repository context, code search, PR/issue queriesintent_analyzer.py- NLU for Create/Update/Query intents + entity extraction (priority, project, tech stack, assignee)ticket_drafter.py- Context-aware ticket generation with Gherkin AC and DoDorchestrator.py- Workflow pipeline: analyze → fetch → draft → presentEvent Handlers:
app_mentioned.pyandapp_messaged.pyto detect PM Bot commands and route to orchestratorRepository Cleanup:
/ask-pmbot)state_store/)Usage
Configuration
Required environment variables:
SLACK_BOT_TOKEN,SLACK_APP_TOKEN- Slack authenticationANTHROPIC_API_KEY,OPENAI_API_KEY, orVERTEX_AI_PROJECT_IDOptional environment variables for full MCP functionality:
JIRA_URL,JIRA_API_TOKEN,JIRA_EMAIL- Ticket creationGITHUB_TOKEN,GITHUB_ORG- Context enrichmentTesting
30 tests cover intent detection, entity extraction, ticket drafting, and end-to-end orchestration. Demo script (
demo_pmbot.py) showcases API, UI, and database ticket scenarios.Impact
See
IMPLEMENTATION_SUMMARY.mdfor technical details andCLEANUP_SUMMARY.mdfor cleanup details.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.