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: content/copilot/how-tos/use-copilot-agents/coding-agent/integrate-coding-agent-with-slack.md
+38-2Lines changed: 38 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,12 @@ The {% data variables.copilot.copilot_coding_agent %} integration in Slack allow
19
19
20
20
For information about additional {% data variables.product.prodname_copilot_short %} integrations, see [AUTOTITLE](/copilot/concepts/tools/about-copilot-integrations).
21
21
22
-
> [!NOTE]
23
-
> When you mention `@{% data variables.product.github %}` in a Slack thread, the agent will capture the entire thread as context for your request, understanding and implementing solutions based on the discussion. This context is stored in the pull request. If you want to limit the context, you can send a direct message to the {% data variables.product.prodname_github_app %} for Slack instead.
22
+
## Security considerations
23
+
24
+
When you @mention {% data variables.product.prodname_copilot_short %} in Slack, consider the following.
25
+
26
+
* {% data variables.product.prodname_copilot_short %} may perform write actions on your behalf, such as creating pull requests or issues, in addition to answering questions. {% data variables.product.prodname_copilot_short %} uses the permissions of your linked {% data variables.product.github %} account for any actions it takes.
27
+
* {% data variables.copilot.copilot_coding_agent %} will capture the entire thread as context for your request, understanding and implementing solutions based on the discussion. This context is stored in the pull request. If you want to limit the context, you can send a direct message to the {% data variables.product.prodname_github_app %} for Slack instead.
24
28
25
29
## Prerequisites
26
30
@@ -55,6 +59,38 @@ Users can invoke {% data variables.copilot.copilot_coding_agent %} on any reposi
55
59
56
60
1. {% data variables.copilot.copilot_coding_agent %} will initiate a {% data variables.copilot.copilot_coding_agent_short %} session and, once the coding agent has finished, respond with a summary of the changes it plans to make and a link to the pull request it has created in the default repository.
57
61
62
+
### Creating an issue with {% data variables.product.prodname_copilot_short %}
63
+
64
+
You can ask {% data variables.product.prodname_copilot_short %} to draft {% data variables.product.github %} issues directly from Slack, turning conversations into actionable tasks. When you mention {% data variables.product.prodname_copilot_short %}, it uses the full thread history as context for the issue it drafts. To keep the context focused, consider starting a new thread or sending a direct message.
65
+
66
+
1. In Slack, ask {% data variables.product.prodname_copilot_short %} to create an issue, specifying the target repository.
67
+
68
+
For example:
69
+
70
+
```text
71
+
@{% data variables.product.github %} In octo-org/octo-repo, create a feature request to add fuzzy matching to search.
72
+
```
73
+
74
+
```text
75
+
@{% data variables.product.github %} Log a bug for a 500 error in octo-org/octo-repo and assign @USER to it. This happens consistently when I try to log into the site.
76
+
```
77
+
78
+
```text
79
+
@{% data variables.product.github %} In octo-org/octo-repo, create an issue and add relevant code snippets to improve the API response format.
80
+
```
81
+
82
+
> [!NOTE] You can only use {% data variables.product.prodname_copilot_short %} to create issues in repositories where you already have permission to create issues. This feature doesn't change your access or bypass repository permissions.
83
+
84
+
1. Click **Review draft** to open the issue draft. {% data variables.product.prodname_copilot_short %} drafts an issue that includes:
85
+
86
+
* A suggested title.
87
+
* Details of the required changes.
88
+
89
+
Based on your prompt, {% data variables.product.prodname_copilot_short %} can also suggest metadata such as labels, assignees, and issue type.
90
+
91
+
1. Review the draft, and once the issue looks good, click **Create**.
92
+
93
+
58
94
## Further reading
59
95
60
96
*[AUTOTITLE](/copilot/concepts/agents/coding-agent/about-coding-agent) - Learn more about {% data variables.copilot.copilot_coding_agent %} and how it can support you.
0 commit comments