Skip to content

Commit de78336

Browse files
hubwritercagesellchenheiskrsunbrye
authored
"Copilot creates issues" now supports issue forms [Public Preview] (#56616)
Co-authored-by: Annie Gesellchen <[email protected]> Co-authored-by: Kevin Heis <[email protected]> Co-authored-by: Sunbrye Ly <[email protected]>
1 parent 5abb8c9 commit de78336

File tree

1 file changed

+28
-14
lines changed

1 file changed

+28
-14
lines changed

content/copilot/how-tos/github-flow/using-github-copilot-to-create-issues.md

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,52 +15,62 @@ redirect_from:
1515
> [!NOTE]
1616
> This feature is in {% data variables.release-phases.public_preview %} and subject to change.
1717
18-
Creating issues manually can be repetitive and time-consuming. With {% data variables.product.prodname_copilot_short %}, you can create issues faster by prompting in natural language, or even by uploading a screenshot. {% data variables.product.prodname_copilot_short %} fills out the title, body, labels, assignees, and more, using your repository’s templates and structure.
18+
Creating issues manually can be repetitive and time-consuming. With {% data variables.product.prodname_copilot_short %}, you can create issues faster by prompting in natural language, or even by uploading a screenshot. {% data variables.product.prodname_copilot_short %} fills out the title, body, labels, assignees, and more, using your repository’s issue forms or templates.
1919

20-
You stay in control: review and refine what {% data variables.product.prodname_copilot_short %} suggests, or make changes directly in the issue form.
20+
You stay in control of the process. You can review and refine what {% data variables.product.prodname_copilot_short %} suggests before you submit the new issue.
2121

2222
## Creating an issue with {% data variables.product.prodname_copilot_short %}
2323

2424
You can create issues from {% data variables.copilot.copilot_chat_short %}'s immersive view.
2525

2626
1. Go to the immersive view of {% data variables.copilot.copilot_chat_short %} ([https://github.com/copilot](https://github.com/copilot)).
27-
1. At the bottom of the page, in the "Ask {% data variables.product.prodname_copilot_short %}" box, describe what you want to file. Specify the repository you would like to create your issue in using the org/repository format. If you do not specify a repository, {% data variables.product.prodname_copilot_short %} will infer the repository based on the repository you last created an issue in. You can try:
27+
1. In the prompt box, describe the issue you want to create.
2828

29-
* "Create a feature request to add fuzzy matching to search."
30-
* "Log a bug for a 500 error when submitting the login form."
31-
* "Create a task and add a label for ‘needs design review’."
29+
If you contribute issues to multiple repositories, use the `organization/repository` format to specify the target repository for this issue. If you don't specify a repository, {% data variables.product.prodname_copilot_short %} will infer the repository based on the repository you last created an issue in.
30+
31+
For example:
32+
33+
* `In octo-org/octo-repo, create a feature request to add fuzzy matching to search.`
34+
* `Log a bug for a 500 error. This happens consistently when I try to log into the site.`
35+
* `Create a task to change the application logo background to red and add the label "needs design review".`
3236

3337
> [!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.
3438
35-
1. Or, you can use one of the following methods to include an image in your prompt:
39+
1. Alternatively, you can use one of the following methods to include an image in your prompt:
3640

3741
* Copy an image and paste it into the prompt box at the bottom of the page.
3842
* Click {% octicon "paperclip" aria-label="Add attachment" %} in the prompt box, then click **Image**. Browse to the image file you want to attach, select it and click **Open**.
3943
* Drag and drop an image file from your operating system's file explorer into the prompt box.
4044

41-
After you paste or upload the image, you can add text to your prompt, for example: "Create an issue because this error appears when trying to reset a password."
45+
After you paste or upload the image, you can add text to your prompt, for example: `Create an issue because this error appears when trying to reset a password.`
4246

43-
1. {% data variables.product.prodname_copilot_short %} will draft an issue that includes:
47+
1. {% data variables.product.prodname_copilot_short %} drafts an issue that includes:
4448

4549
* A suggested title.
46-
* A formatted body (based on your repository’s template)
50+
* Details of the required changes.
51+
52+
If your repository has issue forms or templates, {% data variables.product.prodname_copilot_short %} will choose an appropriate form or template based on your prompt. If there are no forms or templates, {% data variables.product.prodname_copilot_short %} will create a basic issue body for the details of the issue.
4753

48-
Based on your prompt, {% data variables.product.prodname_copilot_short %} will also suggest metadata such as labels, assignee, and issue type.
54+
If {% data variables.product.prodname_copilot_short %} uses an issue form, it will break up the information in your prompt into the relevant fields of the form, without losing any data. {% data variables.product.prodname_copilot_short %} will ask you to provide additional context if there are fields it does not have enough information to fill out.
55+
56+
Based on your prompt, {% data variables.product.prodname_copilot_short %} can also suggest metadata such as labels, assignees, and issue type.
4957

5058
1. Review the draft. You can:
5159

5260
* Edit any part of the issue manually.
61+
* Choose a different issue form or template without losing your input. {% data variables.product.prodname_copilot_short %} reformats the content according to the form or template you choose.
5362
* Ask {% data variables.product.prodname_copilot_short %} to make changes with a follow-up prompt.
54-
* Switch templates without losing your input.
5563

5664
1. Once the issue looks good, click **Create**.
5765

58-
{% data variables.product.prodname_copilot_short %} tailors its suggestions based on the repository where you're creating the issue. It selects the most relevant template for your prompt and applies associated metadata, like labels or issue type. If you choose a different template, {% data variables.product.prodname_copilot_short %} automatically reformats the content to match the new structure.
59-
6066
## Creating multiple issues at once
6167

6268
If your prompt includes multiple tasks or bugs, {% data variables.product.prodname_copilot_short %} can draft more than one issue at a time.
6369

70+
For example:
71+
72+
`In octo-org/octo-repo, create 3 issues: 1) DETAILS OF ONE TASK, 2) DETAILS OF ANOTHER TASK, 3) DETAILS OF A THIRD TASK`
73+
6474
Each draft appears separately, and you can review and edit them individually. To publish the issues, click **Create** on each one you want to submit.
6575

6676
## Assigning issues to {% data variables.product.prodname_copilot_short %}
@@ -73,3 +83,7 @@ You can assign the issue during creation in one of two ways:
7383
* **Manually:** Select "{% data variables.product.prodname_copilot_short %}" from the assignee list.
7484

7585
Once the issue is assigned and created, {% data variables.product.prodname_copilot_short %} will start working on it automatically. You’ll see a 👀 emoji reaction on the issue to indicate that {% data variables.product.prodname_copilot_short %} is working on it.
86+
87+
## Further reading
88+
89+
* [AUTOTITLE](/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository)

0 commit comments

Comments
 (0)