doc/user/project/issues/create_issues.md
{{< details >}}
{{< /details >}}
When you create an issue, you are prompted to enter the fields of the issue. If you know the values you want to assign to an issue, you can use quick actions to enter them.
You can create an issue in many ways in GitLab:
Prerequisites:
To create an issue:
In the top bar, select Search or go to and find your project.
Either:
From the Type dropdown list, select Issue if it is not already selected.
Complete the fields.
Select Create issue.
The newly created issue opens.
Issues belong to projects, but when you're in a group, you can access and create issues that belong to the projects in the group.
Prerequisites:
To create an issue from a group:
<project name>.The newly created issue opens.
The project you selected most recently becomes the default for your next visit. This can save you a lot of time, if you mostly create issues for the same project.
You can create a new issue from an existing one. The two issues can then be marked as related.
Prerequisites:
To create an issue from another issue:
123 is the ID of the
issue of origin. If you keep this checkbox checked, the two issues become
linked.The newly created issue opens.
You can create a new issue from an issue board.
Prerequisites:
To create an issue from a project issue board:
To create an issue from a group issue board:
The issue is created and shows up in the board list. It shares the list's characteristic, so, for
example, if the list is scoped to a label Frontend, the new issue also has this label.
{{< history >}}
{{< /history >}}
You can send an email to create an issue in a project on the project's Issues page.
Prerequisites:
To email an issue to a project:
A new issue is created, with your user as the author. You can save this address as a contact in your email client to use it again.
[!warning] The email address you see is a private email address, generated just for you. Keep it to yourself, because anyone who knows it can create issues or merge requests as if they were you.
To regenerate the email address:
To link directly to the new issue page with prefilled fields, use query string parameters in a URL. You can embed a URL in an external HTML page to create issues with certain fields prefilled.
To build the URL to create an issue with prefilled values, combine:
The project's or group's Issues page URL, followed by /new.
For example: https://gitlab.com/gitlab-org/gitlab/-/issues/new
? to start listing parameters.
URL parameter, followed by = and value.
For example: issue[title]=My%20test%20issue.
Optional. & to join more parameters.
| Field | URL parameter | Notes |
|---|---|---|
| Title | issue[title] | Must be URL-encoded. |
| Issue type | issue[issue_type] | Either incident or issue. |
| Description template (issues, incidents, and merge requests) | issuable_template | Must be URL-encoded. |
| Description template (tasks, OKRs, issues, and epics. | description_template | Must be URL-encoded. Introduced in GitLab 17.9. |
| Description | issue[description] | Must be URL-encoded. If used in combination with issuable_template or a default issue template, the issue[description] value overwrites the template. |
| Confidential | issue[confidential] | If true, the issue is marked as confidential. |
| Relate to… | add_related_issue | A numeric issue ID. If present, the issue form shows a Relate to checkbox to optionally link the new issue to the specified existing issue. |
In GitLab 17.8 and later, when you select an issue template, the URL changes to show the template used.
Adapt these examples to form your new issue URL with prefilled fields. To create an issue in the GitLab project:
With a prefilled title and description:
https://gitlab.com/gitlab-org/gitlab/-/issues/new?issue[title]=Whoa%2C%20we%27re%20half-way%20there&issue[description]=Whoa%2C%20livin%27%20in%20a%20URL
With a prefilled title and description template:
https://gitlab.com/gitlab-org/gitlab/-/issues/new?issue[title]=Validate%20new%20concept&issuable_template=Feature%20Proposal%20-%20basic
With a prefilled title, description, and marked as confidential:
https://gitlab.com/gitlab-org/gitlab/-/issues/new?issue[title]=Validate%20new%20concept&issue[description]=Research%20idea&issue[confidential]=true
To offer email support, enable Service Desk for your project.
Now, when your customer sends a new email, a new issue can be created in the appropriate project and followed up from there.
{{< history >}}
{{< /history >}}
When you're creating a new issue, you can complete the following fields: