Mantis 简明教程
Mantis - Advanced Features
在报告问题的同时,除了某些常规信息外,Mantis 还支持一些高级功能,使其更具信息性和实用性。在本章中,我们将讨论这些高级功能。
While reporting an issue, along with some general information, there are advanced features supported by Mantis to make it more informational and useful. In this chapter, we will discuss about those advanced features.
@Mention - Notification
Mantis 支持 @mentions 以引起用户注意并发送有关问题或备注的通知,即使他们不在通知列表中。
Mantis supports @mentions to gather user attentions and send notifications about an issue or note, even if they are not on the notified list.
这是吸引某人注意力的简单方法。只需在问题备注或说明中引用同事,就可以通过链接向问题详细信息发送备注详细信息。
It is a simple way to draw someone’s attention. Simply reference a college in an issue note or description, and the note details with a link to the issue details will be emailed.
要在“说明/备注”部分中提及用户,首先编写 @,然后写上用户名称,如下图所示。
To mention a user in Description/Note section, first write @ and along with it write the name of user as shown in the following screenshot.
@mentions 超链接到用户页面,并在格式化备注/问题时突出显示。
@mentions is hyperlinked to the user page and highlighted when notes/issues are formatted.

在这种情况下,用户会收到常规电子邮件通知以及 @mentions 通知。但是,@mentions 通知格式简单且主题不同。
In this case, users receive both regular email notification as well as @mention notification. However, @mention notifications have a simplified format as well as a different subject.
以下屏幕截图显示了收到的 @mentions 电子邮件。
The following screenshot displays the received email for @mention.

Send Reminder
发送提醒是 @mentions 的替代功能。此功能用于引起特定用户的注意。例如,产品负责人向团队发送提醒,以更新评论。
Send Reminder is the alternate functionality of @mention. This feature is used to call the attention of a particular user. For example, the Product Owner sends a reminder to the team to update comments.
Mantis 通常建议使用 @mentions。但是,它是一项可选功能。
Mantis generally recommends to use @mention. However, it is an optional feature.
转到“查看问题”并单击“问题 ID”以打开“查看”页面。
Go to the View Issue and click the Issue ID to open the View page.
在问题的顶部,显示“发送提醒”按钮,如下图所示。
At the top of the issue, the “Send a Reminder” button is displayed as shown in the following screenshot.

在点击发送提醒按钮后,会出现一个消息框。在左侧,是用户列表,在右侧可以输入消息。在选择用户并撰写消息后,点击页面底部的发送按钮。
After clicking the Send a reminder button, a message box appears. On the left side, there is a list of users and on the right side messages can be typed. After selecting the user and writing the message, click the Send button at the bottom of the page.
以下截图展示了如何发送提醒。
The following screenshot shows how to send a reminder.

在查看问题 → 活动部分,提醒信息可以像以下截图中展示的那样看到。
In the View Issue → Activities section, the Reminder information can be seen as shown in the following screenshot.

Text Formatting
截至目前,Mantis 支持以下 HTML 标签,它们可以用来给说明和笔记字段中的标签加格式 - p、li、ul、ol、br、pre、I、b、u、em、strong。然而,Mantis 并不建议给文本加格式。
As of now, Mantis supports the following HTML tags that can be used to format the tag in the description and notes field − p, li, ul, ol, br, pre, I, b, u, em, strong. However, Mantis doesn’t encourage formatting the text.
文本电子邮件将使用原始标签而不是格式化文本。Mantis 有一项计划朝着 Markdown 加格式的方向发展,它将弃用 HTML 标签。
The text emails will have raw tags rather than formatted text. Mantis has a plan to move towards Markdown for formatting, which will deprecate HTML tags.
除了 Markdown 支持之外,Mantis 正计划支持 html 电子邮件。这些特性将共同解决现有解决方案的局限性。然而,截至目前,对于 Markdown 或 HTML 电子邮件支持,还没有具体的时间表。
In addition to Markdown support, Mantis is planning to support html emails. These features together will address the limitations of the existing solution. However, as of now, there is no specific timeline for Markdown or for HTML emails support.
Attach Files
Mantis 支持向问题附加多个文件。当报告问题时,用户可以通过点击选择文件按钮来附加文件。也可以通过点击上传文件按钮从查看问题中附加文件。另外一种方法,是在编辑问题模式下附加文件。
Mantis supports attaching multiple files to an issue. A user can attach the file while reporting the issue by clicking the Choose File button. The file can also be attached from the View Issue by clicking the Upload File button. Alternative method, is to attach the file in Edit Issue mode.
以下截图显示了如何在查看问题模块中附加文件。
The following screenshot displays how to attach a file in the View Issue module.

点击上面标记的按钮并浏览要上传的文件。上传成功后,文件将会显示在该按钮的下方。
Click the above marked button and browse the file to upload. Files will be displayed below the button on successful upload.
然后,点击添加笔记。文件将被添加到活动部分,如下一个截图所示。
Then, click Add Notes. The file will be get added in the Activities section as shown in the following screenshot.
