debian-mirror-gitlab/doc/user/project/issues/index.md

224 lines
8.6 KiB
Markdown
Raw Normal View History

2020-06-23 00:09:42 +05:30
---
stage: Plan
group: Project Management
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers
---
2017-09-10 17:25:29 +05:30
# Issues
2017-08-17 22:00:37 +05:30
2019-07-07 11:18:12 +05:30
Issues are the fundamental medium for collaborating on ideas and planning work in GitLab.
2017-08-17 22:00:37 +05:30
2019-07-07 11:18:12 +05:30
## Overview
2017-08-17 22:00:37 +05:30
2020-04-22 19:07:51 +05:30
The GitLab issue tracker is an advanced tool for collaboratively developing ideas, solving problems,
and planning work.
2017-08-17 22:00:37 +05:30
2020-04-08 14:13:33 +05:30
Issues can allow sharing and discussion of proposals before, and during,
their implementation between:
- You and your team.
- Outside collaborators.
They can also be used for a variety of other purposes, customized to your
needs and workflow.
2017-08-17 22:00:37 +05:30
2019-07-07 11:18:12 +05:30
Issues are always associated with a specific project, but if you have multiple projects in a group,
you can also view all the issues collectively at the group level.
**Common use cases include:**
2017-08-17 22:00:37 +05:30
- Discussing the implementation of a new idea
2019-07-07 11:18:12 +05:30
- Tracking tasks and work status
- Accepting feature proposals, questions, support requests, or bug reports
2019-09-30 21:07:59 +05:30
- Elaborating on new code implementations
2017-08-17 22:00:37 +05:30
2019-12-21 20:55:43 +05:30
See also [Always start a discussion with an issue](https://about.gitlab.com/blog/2016/03/03/start-with-an-issue/).
2017-09-10 17:25:29 +05:30
2020-05-24 23:13:21 +05:30
<i class="fa fa-youtube-play youtube" aria-hidden="true"></i>
To learn how GitLab's Strategic Marketing department uses GitLab issues with [labels](../labels.md) and
[issue boards](../issue_board.md), see the video on
[Managing Commitments with Issues](https://www.youtube.com/watch?v=cuIHNintg1o&t=3).
2019-07-07 11:18:12 +05:30
## Parts of an issue
2019-09-30 21:07:59 +05:30
Issues contain a variety of content and metadata, enabling a large range of flexibility
in how they are used. Each issue can contain the following attributes, though not all items
must be set.
2019-07-07 11:18:12 +05:30
<table class="borderless-table fixed-table">
<tr>
<td>
<ul>
<li>Content</li>
<ul>
<li>Title</li>
<li>Description and tasks</li>
<li>Comments and other activity</li>
</ul>
<li>People</li>
<ul>
<li>Author</li>
<li>Assignee(s)</li>
</ul>
<li>State</li>
<ul>
2020-04-08 14:13:33 +05:30
<li>State (open or closed)</li>
2020-04-22 19:07:51 +05:30
<li>Health status (on track, needs attention, or at risk)</li>
2019-07-07 11:18:12 +05:30
<li>Confidentiality</li>
<li>Tasks (completed vs. outstanding)</li>
</ul>
</ul>
</td>
<td>
<ul>
<li>Planning and tracking</li>
<ul>
<li>Milestone</li>
<li>Due date</li>
<li>Weight</li>
<li>Time tracking</li>
<li>Labels</li>
<li>Votes</li>
<li>Reaction emoji</li>
<li>Linked issues</li>
<li>Assigned epic</li>
<li>Unique issue number and URL</li>
</ul>
</ul>
</td>
</tr>
</table>
## Viewing and managing issues
2019-09-30 21:07:59 +05:30
While you can view and manage the full details of an issue on the [issue page](#issue-page),
you can also work with multiple issues at a time using the [Issues List](#issues-list),
2020-05-24 23:13:21 +05:30
[Issue Boards](#issue-boards), Issue references, and [Epics](#epics-premium)**(PREMIUM)**.
2019-09-30 21:07:59 +05:30
Key actions for Issues include:
- [Creating issues](managing_issues.md#create-a-new-issue)
- [Moving issues](managing_issues.md#moving-issues)
- [Closing issues](managing_issues.md#closing-issues)
- [Deleting issues](managing_issues.md#deleting-issues)
2019-07-07 11:18:12 +05:30
### Issue page
2019-05-30 16:15:17 +05:30
![Issue view](img/issues_main_view.png)
2019-09-30 21:07:59 +05:30
On an issue's page, you can view [all aspects of the issue](issue_data_and_actions.md),
2019-10-12 21:52:04 +05:30
and modify them if you have the necessary [permissions](../../permissions.md).
2019-05-30 16:15:17 +05:30
2020-10-24 23:57:45 +05:30
#### Real-time sidebar **(CORE ONLY)**
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/17589) in GitLab 13.3.
> - It cannot be enabled or disabled per-project.
> - It's not recommended for production use.
Assignees in the sidebar are updated in real time. This feature is **disabled by default**.
To enable, you need to enable [ActionCable in-app mode](https://docs.gitlab.com/omnibus/settings/actioncable.html).
2019-07-07 11:18:12 +05:30
### Issues list
2019-05-30 16:15:17 +05:30
2019-07-07 11:18:12 +05:30
![Project issues list view](img/project_issues_list_view.png)
2017-08-17 22:00:37 +05:30
2019-09-30 21:07:59 +05:30
On the Issues List, you can view all issues in the current project, or from multiple
projects when opening the Issues List from the higher-level group context. Filter the
2020-03-13 15:44:24 +05:30
issue list with a [search query](../../search/index.md#filtering-issue-and-merge-request-lists),
2019-09-30 21:07:59 +05:30
including specific metadata, such as label(s), assignees(s), status, and more. From this
view, you can also make certain changes [in bulk](../bulk_editing.md) to the displayed issues.
2017-08-17 22:00:37 +05:30
2019-09-30 21:07:59 +05:30
For more information, see the [Issue Data and Actions](issue_data_and_actions.md) page
for a rundown of all the fields and information in an issue.
2019-09-04 21:01:54 +05:30
2020-04-08 14:13:33 +05:30
You can sort a list of issues in several ways, for example by issue creation date, milestone due date. For more information, see the [Sorting and Ordering Issue Lists](sorting_issue_lists.md) page.
2017-08-17 22:00:37 +05:30
2019-07-07 11:18:12 +05:30
### Issue boards
2017-08-17 22:00:37 +05:30
2019-07-07 11:18:12 +05:30
![Issue board](img/issue_board.png)
2017-08-17 22:00:37 +05:30
2020-04-22 19:07:51 +05:30
[Issue boards](../issue_board.md) are Kanban boards with columns that display issues based on their
labels or their assignees**(PREMIUM)**. They offer the flexibility to manage issues using
2019-09-30 21:07:59 +05:30
highly customizable workflows.
2017-08-17 22:00:37 +05:30
2019-09-30 21:07:59 +05:30
You can reorder issues within a column. If you drag an issue card to another column, its
associated label or assignee will change to match that of the new column. The entire
board can also be filtered to only include issues from a certain milestone or an overarching
label.
2017-08-17 22:00:37 +05:30
2020-04-22 19:07:51 +05:30
### Design Management
2019-10-12 21:52:04 +05:30
With [Design Management](design_management.md), you can upload design
assets to issues and view them all together to easily share and
collaborate with your team.
2020-05-24 23:13:21 +05:30
### Epics **(PREMIUM)**
2019-05-30 16:15:17 +05:30
2019-09-30 21:07:59 +05:30
[Epics](../../group/epics/index.md) let you manage your portfolio of projects more
efficiently and with less effort by tracking groups of issues that share a theme, across
projects and milestones.
2019-05-30 16:15:17 +05:30
2019-09-30 21:07:59 +05:30
### Related issues **(STARTER)**
2019-05-30 16:15:17 +05:30
2019-09-30 21:07:59 +05:30
You can mark two issues as related, so that when viewing one, the other is always
listed in its [Related Issues](related_issues.md) section. This can help display important
context, such as past work, dependencies, or duplicates.
2019-05-30 16:15:17 +05:30
2019-09-30 21:07:59 +05:30
### Crosslinking issues
2019-05-30 16:15:17 +05:30
2020-06-23 00:09:42 +05:30
You can [cross-link issues](crosslinking_issues.md) by referencing an issue from another
2019-09-30 21:07:59 +05:30
issue or merge request by including its URL or ID. The referenced issue displays a
message in the Activity stream about the reference, with a link to the other issue or MR.
2017-08-17 22:00:37 +05:30
2019-09-30 21:07:59 +05:30
### Similar issues
2017-08-17 22:00:37 +05:30
2020-03-13 15:44:24 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/22866) in GitLab 11.6.
2017-08-17 22:00:37 +05:30
2019-09-30 21:07:59 +05:30
To prevent duplication of issues for the same topic, GitLab searches for similar issues
when new issues are being created.
2017-08-17 22:00:37 +05:30
2019-09-30 21:07:59 +05:30
When typing in the title in the **New Issue** page, GitLab searches titles and descriptions
2020-04-08 14:13:33 +05:30
across all issues the user has access to in the current project. Up to five similar issues,
2019-09-30 21:07:59 +05:30
sorted by most recently updated, are displayed below the title box. Note that this feature
requires [GraphQL](../../../api/graphql/index.md) to be enabled.
2017-09-10 17:25:29 +05:30
2019-09-30 21:07:59 +05:30
![Similar issues](img/similar_issues.png)
2019-02-15 15:39:39 +05:30
2020-04-22 19:07:51 +05:30
### Health status **(ULTIMATE)**
2020-04-08 14:13:33 +05:30
2020-06-23 00:09:42 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/36427) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 12.10.
2020-04-08 14:13:33 +05:30
2020-04-22 19:07:51 +05:30
To help you track the status of your issues, you can assign a status to each issue to flag work
that's progressing as planned or needs attention to keep on schedule:
2020-04-08 14:13:33 +05:30
2020-04-22 19:07:51 +05:30
- **On track** (green)
- **Needs attention** (amber)
- **At risk** (red)
2020-04-08 14:13:33 +05:30
2020-04-22 19:07:51 +05:30
!["On track" health status on an issue](img/issue_health_status_dropdown_v12_10.png)
2020-04-08 14:13:33 +05:30
2020-04-22 19:07:51 +05:30
You can then see issue statuses on the
[Epic tree](../../group/epics/index.md#issue-health-status-in-epic-tree-ultimate).
2020-04-08 14:13:33 +05:30
2020-04-22 19:07:51 +05:30
#### Disable issue health status
2020-04-08 14:13:33 +05:30
2020-04-22 19:07:51 +05:30
This feature comes with the `:save_issuable_health_status` feature flag enabled by default. However, in some cases
this feature is incompatible with old configuration. To turn off the feature while configuration is
2020-04-08 14:13:33 +05:30
migrated, ask a GitLab administrator with Rails console access to run the following command:
```ruby
2020-04-22 19:07:51 +05:30
Feature.disable(:save_issuable_health_status)
2020-04-08 14:13:33 +05:30
```
2019-09-30 21:07:59 +05:30
## Other Issue actions
2019-02-15 15:39:39 +05:30
2019-09-30 21:07:59 +05:30
- [Create an issue from a template](../../project/description_templates.md#using-the-templates)
- [Set a due date](due_dates.md)
- [Bulk edit issues](../bulk_editing.md) - From the Issues List, select multiple issues
in order to change their status, assignee, milestone, or labels in bulk.
2019-07-07 11:18:12 +05:30
- [Import issues](csv_import.md)
2020-04-22 19:07:51 +05:30
- [Export issues](csv_export.md)
2019-07-07 11:18:12 +05:30
- [Issues API](../../../api/issues.md)
2019-09-30 21:07:59 +05:30
- Configure an [external issue tracker](../../../integration/external-issue-tracker.md)
such as Jira, Redmine, or Bugzilla.