debian-mirror-gitlab/doc/user/project/issue_board.md
2017-09-10 17:25:29 +05:30

12 KiB
Raw Blame History

Issue Board

Note: Introduced in GitLab 8.11.

The GitLab Issue Board is a software project management tool used to plan, organize, and visualize a workflow for a feature or product release. It can be seen like a light version of a Kanban or a Scrum board.

Other interesting links:

Overview

The Issue Board builds on GitLab's existing issue tracking functionality and leverages the power of labels by utilizing them as lists of the scrum board.

With the Issue Board you can have a different view of your issues while maintaining the same filtering and sorting abilities you see across the issue tracker. An Issue Board is based on its project's label structure, therefore, it applies the same descriptive labels to indicate placement on the board, keeping consistency throughout the entire development lifecycle.

An Issue Board shows you what issues your team is working on, who is assigned to each, and where in the workflow those issues are.

You create issues, host code, perform reviews, build, test, and deploy from one single platform. Issue Boards help you to visualize and manage the entire process in GitLab.

With Multiple Issue Boards, available only in GitLab Enterprise Edition, you go even further, as you can not only keep yourself and your project organized from a broader perspective with one Issue Board per project, but also allow your team members to organize their own workflow by creating multiple Issue Boards within the same project.

Use cases

GitLab Workflow allows you to discuss proposals in issues, categorize them with labels, and from there organize and prioritize them with Issue Boards.

For example, let's consider this simplified development workflow:

  1. You have a repository hosting your app's codebase and your team actively contributing to code
  2. Your backend team starts working a new implementation, gathers feedback and approval, and pass it over to frontend
  3. When frontend is complete, the new feature is deployed to staging to be tested
  4. When successful, it is deployed to production

If we have the labels "backend", "frontend", "staging", and "production", and an Issue Board with a list for each, we can:

  • Visualize the entire flow of implementations since the beginning of the development lifecycle until deployed to production
  • Prioritize the issues in a list by moving them vertically
  • Move issues between lists to organize them according to the labels you've set
  • Add multiple issues to lists in the board by selecting one or more existing issues

issue card moving

Notes:

Issue Board terminology

Below is a table of the definitions used for GitLab's Issue Board.

What we call it What it means
Issue Board It represents a different view for your issues. It can have multiple lists with each list consisting of issues represented by cards.
List Each label that exists in the issue tracker can have its own dedicated list. Every list is named after the label it is based on and is represented by a column which contains all the issues associated with that label. You can think of a list like the results you get when you filter the issues by a label in your issue tracker.
Card Every card represents an issue and it is shown under the list for which it has a label. The information you can see on a card consists of the issue number, the issue title, the assignee and the labels associated with it. You can drag cards around from one list to another. You can re-order cards within a list.

There are two types of lists, the ones you create based on your labels, and two defaults:

  • Label list: a list based on a label. It shows all opened issues with that label.
  • Backlog (default): shows all open issues that does not belong to one of lists. Always appears on the very left.
  • Closed (default): shows all closed issues. Always appears on the very right.

GitLab Issue Board


In short, here's a list of actions you can take in an Issue Board:

If you are not able to perform one or more of the things above, make sure you have the right permissions.

First time using the Issue Board

The first time you navigate to your Issue Board, you will be presented with a default list (Done) and a welcoming message that gives you two options. You can either create a predefined set of labels and create their corresponding lists to the Issue Board or opt-out and use your own lists.

Issue Board welcome message

If you choose to use and create the predefined lists, they will appear as empty because the labels associated to them will not exist up until that moment, which means the system has no way of populating them automatically. That's of course if the predefined labels don't already exist. If any of them does exist, the list will be created and filled with the issues that have that label.

Creating a new list

Create a new list by clicking on the Add list button at the upper right corner of the Issue Board.

Issue Board welcome message

Simply choose the label to create the list from. The new list will be inserted at the end of the lists, before Done. Moving and reordering lists is as easy as dragging them around.

To create a list for a label that doesn't yet exist, simply create the label by choosing Create new label. The label will be created on-the-fly and it will be immediately added to the dropdown. You can now choose it to create a list.

Deleting a list

To delete a list from the Issue Board use the small trash icon that is present in the list's heading. A confirmation dialog will appear for you to confirm.

Deleting a list doesn't have any effect in issues and labels, it's just the list view that is removed. You can always add it back later if you need.

Adding issues to a list

You can add issues to a list by clicking the Add issues button that is present in the upper right corner of the Issue Board. This will open up a modal window where you can see all the issues that do not belong to any list.

Select one or more issues by clicking on the cards and then click Add issues to add them to the selected list. You can limit the issues you want to add to the list by filtering by author, assignee, milestone and label.

Bulk adding issues to lists

Removing an issue from a list

Removing an issue from a list can be done by clicking on the issue card and then clicking the Remove from board button in the sidebar. Under the hood, the respective label is removed, and as such it's also removed from the list and the board itself.

Remove issue from list

Re-ordering an issue in a list

Introduced in GitLab 9.0.

Issues can be re-ordered inside of lists. This is as simple as dragging and dropping an issue into the order you want.

Filtering issues

You should be able to use the filters on top of your Issue Board to show only the results you want. This is similar to the filtering used in the issue tracker since the metadata from the issues and labels are re-used in the Issue Board.

You can filter by author, assignee, milestone and label.

Creating workflows

By reordering your lists, you can create workflows. As lists in Issue Boards are based on labels, it works out of the box with your existing issues. So if you've already labeled things with 'Backend' and 'Frontend', the issue will appear in the lists as you create them. In addition, this means you can easily move something between lists by changing a label.

A typical workflow of using the Issue Board would be:

  1. You have created and prioritized labels so that you can easily categorize your issues.
  2. You have a bunch of issues (ideally labeled).
  3. You visit the Issue Board and start creating lists to create a workflow.
  4. You move issues around in lists so that your team knows who should be working on what issue.
  5. When the work by one team is done, the issue can be dragged to the next list so someone else can pick up.
  6. When the issue is finally resolved, the issue is moved to the Done list and gets automatically closed.

For instance you can create a list based on the label of 'Frontend' and one for 'Backend'. A designer can start working on an issue by adding it to the 'Frontend' list. That way, everyone knows that this issue is now being worked on by the designers. Then, once they're done, all they have to do is drag it over to the next list, 'Backend', where a backend developer can eventually pick it up. Once theyre done, they move it to Done, to close the issue.

This process can be seen clearly when visiting an issue since with every move to another list the label changes and a system not is recorded.

Issue Board system notes

Permissions

Developers and up can use all the functionality of the Issue Board, that is create/delete lists and drag issues around.

Tips

A few things to remember:

  • The label that corresponds to a list is hidden for issues under that list.
  • Moving an issue between lists removes the label from the list it came from and adds the label from the list it goes to.
  • When moving a card to Done, the label of the list it came from is removed and the issue gets closed.
  • An issue can exist in multiple lists if it has more than one label.
  • Lists are populated with issues automatically if the issues are labeled.
  • Clicking on the issue title inside a card will take you to that issue.
  • Clicking on a label inside a card will quickly filter the entire Issue Board and show only the issues from all lists that have that label.
  • For performance and visibility reasons, each list shows the first 20 issues by default. If you have more than 20 issues start scrolling down and the next 20 will appear.