在 trac 工作流程中添加多用户审批流程

发布于 2024-07-13 18:22:30 字数 311 浏览 5 评论 0原文

我选择了 trac 作为我组织的项目管理工具; 我想修改默认工作流程如下:

  • 所有成员都可以创建新的“增强”票证
  • 所有新的“增强”票证都需要得到同样 4 个人的批准,然后才能分配给开发人员进行工作。 “缺陷”& “任务”票证不需要审批流程。

我知道我必须修改 trac.ini 的 [ticket-workflow] 区域; 但在票证基本上获得批准之前,我不知道如何限制开发人员的分配。

我知道这不是最佳的工作流程/流程; 但这是我继承下来的,必须遵守,直到我能改变它。 谢谢!

I have selected trac for my organization's project management tool; and I'd like to modify the default workflow as follows:

  • A new "enhancement" ticket can be created by all members
  • All new "enhancement" tickets need to be approved by the same 4 people before it can be assigned to a developer for work. "defect" & "task" tickets need not have the approval process.

I know I have to modify the [ticket-workflow] area of the trac.ini; but I can't figure out how to limit developer assignment until the ticket has essentially been approved.

I understand this is not an optimal workflow/process; but it's something that I have inherited and have to conform to until I can change it. Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

惟欲睡 2024-07-20 18:22:30

您可以安装 TypedTicketWorkflowPlugin 以将某些转换限制为仅特定工单类型。 然后按照以下内容更新您的 [ticket-workflow] 部分(未经测试):

[ticket-workflow]
assign = new,reopened -> assigned
assign.operations = set_owner
assign.permissions = TICKET_MODIFY
assign.tickettype = defect, task

approve = new,reopened -> approved
approve.permissions = TICKET_ADMIN
approve.tickettype = enhancement

assign_enhancement = approved -> assigned
assign_enhancement.name = assign
assign_enhancement.operations = set_owner
assign_enhancement.permissions = TICKET_MODIFY

您可能需要调整您的 approve.permissions 选项,以仅允许合适的人员批准增强功能要求。 不过,我不确定您是否可以直接在选项中设置用户名。

You could install the TypedTicketWorkflowPlugin to restrict some transitions to specific ticket types only. Then update your [ticket-workflow] section along the lines of (untested):

[ticket-workflow]
assign = new,reopened -> assigned
assign.operations = set_owner
assign.permissions = TICKET_MODIFY
assign.tickettype = defect, task

approve = new,reopened -> approved
approve.permissions = TICKET_ADMIN
approve.tickettype = enhancement

assign_enhancement = approved -> assigned
assign_enhancement.name = assign
assign_enhancement.operations = set_owner
assign_enhancement.permissions = TICKET_MODIFY

You may have to tweak your approve.permissions options to allow only the right people to approve enhancement requests. I'm not sure if you can set usernames directly in the option, though.

坏尐絯℡ 2024-07-20 18:22:30

除了雷米所写的之外,为了获得请求的多用户批准位,您可以尝试创建不同的批准状态,例如

新的、重新打开的 -> 已批准1 -> 已批准2 -> 已批准3 -> 已批准4 -> 分配

(上面显然不是实际的[ticket-workflow]-语法)

In addition to what Remy wrote, in order to get the multi-user approval bit of your request you could try to create distinct approved statii, e.g.

new, reopened -> approved1 -> approved2 -> approved3 -> approved4 -> assigned

(the above is not actual [ticket-workflow]-syntax obviously)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文