Skip to content

Commit 572b551

Browse files
committed
update auto resolve ticket
1 parent 4cb9e37 commit 572b551

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

docs/guides/all/automatically-resolve-tickets-with-coding-agents.md

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -125,37 +125,31 @@ Next, we will create an AI agent that generates GitHub issues from Jira tickets
125125

126126
```json showLineNumbers
127127
{
128-
"identifier": "github_issue_creation",
129-
"title": "Github Issue Creation",
128+
"identifier": "work_item_synchronizer",
129+
"title": "Work Item Synchronizer",
130130
"icon": "Details",
131131
"team": [],
132132
"properties": {
133-
"description": "Creates Github issues from Jira tickets",
133+
"description": "Ensures seamless workflow continuity across development tools",
134134
"status": "active",
135-
"allowed_blueprints": [
136-
"service",
137-
"githubIssue",
138-
"githubRepository",
139-
"_user",
140-
"_team"
141-
],
142-
"allowed_actions": [
143-
"create_github_issue"
144-
],
145135
"prompt": "Create a GitHub issue that builds on the context of a linked Jira ticket.\n\nThe GitHub issue should:\n1.\tSummarize and clearly explain the task, using the Jira description as a base.\n2.\tAugment the description with relevant insights from the repository — such as the README, setup or contribution instructions, existing issues, or implementation notes — to make the issue fully self-contained.\n3.\tThe **issue title MUST start with the Jira ticket key**, using the format: `<Jira-Ticket-ID> - <what needs to be done>` (e.g., `JIRA-1234 - Add missing lint configuration`). This ensures PRs created by Copilot are linkable back to Jira.\n4.\tAdd GitHub labels, including one with the Jira ticket key (e.g., `JIRA-1234`), and any additional relevant labels (e.g., bug, enhancement, infra).\n5.\tAlso include a label named `auto_assign` in all creations.\n6. The GitHub issue body should end with the following directive:\n🚨 **IMPORTANT NOTE FOR COPILOT**: When creating the pull request to resolve this issue:\n 1. You **must ALWAY include the Jira ticket ID** (e.g., `JIRA-1234`) in the **PR title**.\n 2. Do **not** rename the PR title or remove the Jira ticket reference.\n 3. Add GitHub labels with the Jira ticket key (e.g., `JIRA-1234`) to the PR.\n\nIf no direct match can be confidently made (e.g., across multiple repos), make a best guess, and clearly state any assumptions in the issue body.",
146136
"execution_mode": "Automatic",
147-
"conversation_starters": []
137+
"conversation_starters": [],
138+
"tools": [
139+
"^(list|get|search|track|describe)_.*",
140+
"run_create_github_issue"
141+
]
148142
},
149143
"relations": {}
150144
}
151145
```
152146
</details>
153147

154-
5. Click `Create` to save the agent.
148+
:::tip MCP Enhanced Capabilities
149+
The AI agent uses MCP (Model Context Protocol) enhanced capabilities to automatically discover important and relevant blueprint entities via its tools. The `^(list|get|search|track|describe)_.*` pattern allows the agent to access and analyze related entities in your software catalog, providing richer context for GitHub issue creation. Additionally, we explicitly add `run_create_github_issue` to the tools, which instructs the AI agent to call this specific action to create GitHub issues from Jira tickets.
150+
:::
155151

156-
:::tip Enhance Context with Integrations
157-
The more integrations and data you add to the agent, the richer the context it will provide to the Copilot agent. Consider integrating additional data sources like deployment history, related incidents, and more to enhance the AI agent's effectiveness.
158-
:::
152+
5. Click `Create` to save the agent.
159153

160154

161155
## Set up automations
@@ -207,7 +201,7 @@ This automation can be configured to trigger based on various criteria. Currentl
207201
},
208202
"invocationMethod": {
209203
"type": "WEBHOOK",
210-
"url": "https://api.getport.io/v1/agent/github_issue_creation/invoke",
204+
"url": "https://api.getport.io/v1/agent/work_item_synchronizer/invoke",
211205
"agent": false,
212206
"synchronized": true,
213207
"method": "POST",

0 commit comments

Comments
 (0)