You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/all/automatically-resolve-tickets-with-coding-agents.md
+13-19Lines changed: 13 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,37 +125,31 @@ Next, we will create an AI agent that generates GitHub issues from Jira tickets
125
125
126
126
```json showLineNumbers
127
127
{
128
-
"identifier": "github_issue_creation",
129
-
"title": "Github Issue Creation",
128
+
"identifier": "work_item_synchronizer",
129
+
"title": "Work Item Synchronizer",
130
130
"icon": "Details",
131
131
"team": [],
132
132
"properties": {
133
-
"description": "Creates Github issues from Jira tickets",
133
+
"description": "Ensures seamless workflow continuity across development tools",
134
134
"status": "active",
135
-
"allowed_blueprints": [
136
-
"service",
137
-
"githubIssue",
138
-
"githubRepository",
139
-
"_user",
140
-
"_team"
141
-
],
142
-
"allowed_actions": [
143
-
"create_github_issue"
144
-
],
145
135
"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.",
146
136
"execution_mode": "Automatic",
147
-
"conversation_starters": []
137
+
"conversation_starters": [],
138
+
"tools": [
139
+
"^(list|get|search|track|describe)_.*",
140
+
"run_create_github_issue"
141
+
]
148
142
},
149
143
"relations": {}
150
144
}
151
145
```
152
146
</details>
153
147
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
+
:::
155
151
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.
159
153
160
154
161
155
## Set up automations
@@ -207,7 +201,7 @@ This automation can be configured to trigger based on various criteria. Currentl
Copy file name to clipboardExpand all lines: docs/guides/all/enrich-tasks-with-ai.md
+13-22Lines changed: 13 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,37 +65,28 @@ Install the following integration to have access to these data sources:
65
65
```json showLineNumbers
66
66
{
67
67
"identifier": "task_assistant_ai_agent",
68
-
"title": "Task Assistant AI Agent",
69
-
"icon": "Airflow",
68
+
"title": "Clarity AI",
69
+
"icon": "Details",
70
+
"team": [],
70
71
"properties": {
72
+
"description": "Automatically enriches Jira tasks with relevant context when developers start working on them",
71
73
"status": "active",
72
-
"allowed_blueprints": [
73
-
"service",
74
-
"githubRepository",
75
-
"_user",
76
-
"githubPullRequest",
77
-
"jiraIssue",
78
-
"jiraProject",
79
-
"githubUser",
80
-
"_team",
81
-
"jiraUser"
82
-
],
83
-
"allowed_actions": [
84
-
"comment_on_jira_issue"
85
-
],
86
-
"executionMode": "Automatic",
87
-
"prompt": "## Comment Format\n\nHey there [User's First Name], it's Clarity - the Port AI agent!\nI noticed you just started working on a new task: [link to assigned issue].\nHere's some context to help you get started\n\nDevs who might have input:\nList up to 3 developers (excluding the user), explain briefly why each is relevant. If none, write a meaningful explanation.\n\nSimilar Jira Issues:\nList up to 3 Jira issues (not assigned to the user), mention the assigned person and why it's relevant. If none, explain why.\n\nSimilar Pull Requests:\nList up to 3 pull requests (not assigned to the user), mention the creator and why it's relevant. If none, explain why.\n\nEach section can have fewer than 3 items. Always explain if empty.\n\n## Instructions\n\nSend the comment according to the format above in the most relevant given JIRA Issue. Use the `comment_on_jira_issue` tool to achieve that.",
88
-
"allowed_tools": [
89
-
"Entities Search",
90
-
"Entities Similarity Search",
91
-
"Entities Group"
74
+
"prompt": "# Task\nUse the \"comment_on_jira_issue\" action, automatically send a greeting using their first name and explain this is an automatic message. Then share three sections with emojis for helpful context.\n\n## Message Format\nHey there [First Name], it's Clarity :crystal_ball: - the Port AI agent!\nI noticed you just started working on a new task: [link to assigned issue].\nHere's some context to help you get started :blobdance:\n\n:male-technologist: Devs who might have input:\nList up to 3 developers (excluding the user), explain briefly why each is relevant. If none, write a meaningful explanation.\n\n:jira: Similar Tasks:\nList up to 3 Jira issues (not assigned to the user), mention the assigned person and why it's relevant. If none, explain why.\n\n:github_on_fire: Similar Pull Requests:\nList up to 3 pull requests in statuses \"open\" or \"merged\", mention the creator and why it's relevant. If none, explain why.\n\n## Guidelines\n- Each section can have fewer than 3 items. Always explain\n",
75
+
"execution_mode": "Automatic",
76
+
"tools": [
77
+
"^(list|get|search|track|describe)_.*",
78
+
"run_comment_on_jira_issue"
92
79
]
93
80
},
94
81
"relations": {}
95
82
}
96
83
```
97
84
</details>
98
85
86
+
:::tip MCP Enhanced Capabilities
87
+
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 task enrichment. Additionally, we explicitly add `run_comment_on_jira_issue` to the tools, which instructs the AI agent to call this specific action to comment on Jira issues with contextual information.
0 commit comments