项目

一般

简介

插件 » Custom Workflows 定制工作流插件

Custom Workflows

启用该插件需要熟悉Ruby语言,它允许通过ruby语句自定义工作流。

发布于: https://github.com/anteo/redmine_custom_workflows
兼容于: Redmine 5.1.*,  5.0.*,  4.2.*,  4.1.*,  4.0.*,  3.4.*,  3.3.*,  3.2.*,  3.1.*,  3.0.*,  2.6.*,  2.5.*,  2.4.*,  2.3.*,  2.2.*,  2.1.*,  2.0.*

最新版本: 2.1.2 更新日期: 2024-07-03 13:39

基本介绍

启用该插件需要熟悉Ruby语言,它允许通过ruby语句自定义工作流。例如:

满足预置条件后自动修改issue属性
自定义错误信息
可以自定义 observable object. 已经支持的observable object对象如下:

  • Issue (before_save, after_save, before_destroy, after_destroy)
  • Group (before_save, after_save, before_destroy, after_destroy)
  • User (before_save, after_save, before_destroy, after_destroy)
  • Project (before_save, after_save, before_destroy, after_destroy)
  • Attachment (before_save, after_save, before_destroy, after_destroy)
  • Wiki Content (before_save, after_save, before_destroy, after_destroy)
  • Group Users (before_add, after_add, before_remove, after_remove)
  • Issue Attachments (before_add, after_add, before_remove, after_remove)
  • Project Attachments / Files (before_add, after_add, before_remove, after_remove)
  • Wiki Page Attachments (before_add, after_add, before_remove, after_remove)
  • <Shared code>

<Shared code> - 工作流的特殊类型,可以在其它工作流之前运行。同时提供额外的功能和函数,详细内容参考作者wiki介绍。

感谢 @Participaçãoes MZB HD 提供的redmine_custom_workflows用例手册 (#586