Mantis 简明教程

Mantis - Manage Categories

在创建项目后,用户应分类类别。类别允许将缺陷划分为不同区域,例如“用户界面”,“后台”,“数据库”,“服务”等。它基于缺陷的类型,软件的功能区域或各种开发团队的专业知识。

After the creation of the project, the user should classify Categories. Categories allow dividing the issues into different areas such as 'user interface', 'backend', ‘database', ‘services’, etc. It is based on the type of issues, feature areas of the software, or the expertise of various development teams.

用户可以创建特定于项目的类别,或在所有项目中全局定义该类别。Mantis 支持一个名为“常规”的预定义全局类别。当在项目之间移动缺陷时,此类别用作默认类别,并且目标项目中没有源类别。

The user can create categories specific to a project or define it globally across all projects. Mantis supports a pre-defined global category called 'General'. This is used as the default category while moving issues between projects, and there is no source category in the target project.

Create a Category

Step 1 − 转到管理 → 管理项目选项卡。

Step 1 − Go to Manage → Manage Projects tab.

Step 2 − 在文本框中输入类别名称,然后单击“添加类别”。

Step 2 − Enter the Category name in the text box and click Add Category.

以下屏幕截图展示了如何添加一个“全局类别”。

The following screenshot shows how to add a Global Category.

global category

成功添加后,用户便可以在“全局类别”部分下看到类别名称。用户可以通过点击“操作”列下的“编辑”按钮在任何时候编辑此类别。

On successful addition, the user will be able to see the category name under Global Categories section. The user can edit the category anytime by clicking the Edit button present under Actions column.

以下屏幕截图展示了已添加的类别和“编辑”按钮。

The following screenshot shows added category and Edit button.

added and edit button

Configure Categories

可以将类别配置为默认分配者。

Categories can be configured to a default assignee.

此类别下记录的所有问题将自动分配给团队成员。

All issues logged under this category will automatically be assigned to a team member.

Step 1 - 要配置类别,请转到“管理”→“管理项目”→“全局类别”

Step 1 − To configure the category, go to Manage → Manage Projects → Global Categories

Step 2 - 点击“编辑”配置特定类别,如下一个屏幕截图所示。

Step 2 − Click Edit to configure a specific category as shown in the previous screenshot.

Step 3 - 在“编辑项目类别”中,从下拉列表中选择“分配给”。

Step 3 − In the Edit Project Category, select Assigned to from the dropdown list.

Step 4 - 点击“更新类别”。

Step 4 − Click Update Category.

在此,用户也可以编辑类别名称。

Here, the user can edit the category name as well.

以下屏幕截图展示了如何配置类别。

The following screenshot shows how to configure a category.

configure category

Delete a Category

Step 1 - 要删除一个类别,请转到“管理”→“管理项目”。

Step 1 − To delete a category, go to Manage → Manage Projects.

Step 2 - 点击要删除的特定类别。然后,从“操作”列中点击“删除”按钮,如下一个屏幕截图所示。

Step 2 − Click a specific category to delete. Then, click the Delete button from the Actions column as shown in the following screenshot.

actions column

Step 3 - 在点击“删除”后,Mantis 会显示一条警告消息并要求确认,用户是否要删除特定类别。点击“删除类别”按钮,如下一个屏幕截图所示。

Step 3 − After clicking Delete, Mantis displays a warning message and asks for confirmation, whether the user wants to delete a specific category or not. Click the Delete Category button as shown in the following screenshot.

delete category

如果问题列在已删除的类别下,在删除后,这些问题将自动更新并显示为无类别。

If the issues are listed under the deleted category, after deletion, the issues will be updated automatically and displayed as no category.

用户可以手动筛选问题并为其更新类别。

The user can manually filter the issues and update the categories for those.