Skip to content

Commit adb7007

Browse files
committed
update task assistant AI
1 parent 572b551 commit adb7007

File tree

1 file changed

+13
-22
lines changed

1 file changed

+13
-22
lines changed

docs/guides/all/enrich-tasks-with-ai.md

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -65,37 +65,28 @@ Install the following integration to have access to these data sources:
6565
```json showLineNumbers
6666
{
6767
"identifier": "task_assistant_ai_agent",
68-
"title": "Task Assistant AI Agent",
69-
"icon": "Airflow",
68+
"title": "Clarity AI",
69+
"icon": "Details",
70+
"team": [],
7071
"properties": {
72+
"description": "Automatically enriches Jira tasks with relevant context when developers start working on them",
7173
"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"
9279
]
9380
},
9481
"relations": {}
9582
}
9683
```
9784
</details>
9885

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.
88+
:::
89+
9990
5. Click on `Create` to save the agent.
10091

10192
### Set up the automation trigger

0 commit comments

Comments
 (0)