在 trac 工作流程中添加多用户审批流程
我选择了 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以安装 TypedTicketWorkflowPlugin 以将某些转换限制为仅特定工单类型。 然后按照以下内容更新您的
[ticket-workflow]
部分(未经测试):您可能需要调整您的
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):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.除了雷米所写的之外,为了获得请求的多用户批准位,您可以尝试创建不同的批准状态,例如
新的、重新打开的 -> 已批准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)