BTS.Trac (1.0.51.183) | 2009-07-08 20:03 |
ExcelRedmineAddIn (1.0.1) | 2009-06-15 23:07 |
ExcelTracAddIn (1.2.1) | 2009-06-15 23:09 |
OpenProj (1.4-ja-dev2) | 2009-08-14 09:02 |
ProjectTracAddIn (1.0.0) | 2009-03-14 14:30 |
TaskTrayTrac (2.0β1) | 2009-07-31 00:55 |
TicketImportTemplate (1.0) | 2009-02-03 22:55 |
TracPluginTemplateMaker (0.2) | 2009-10-11 22:59 |
VisualStudioTracAddIn (2.0 β1) | 2009-07-31 00:53 |
このページはTrac-hacksのAdvancedTicketWorkflowPluginのページを一部翻訳したものです。
AdvancedTicketWorkflowPluginは、カスタムワークフローのための高度な機能を提供します。
現在提供されるワークフローのオペレーションは:
プラグインを有効にするには
プラグインをインストール後、Trac.iniに以下のように追記し有効にします。
[components] advancedworkflow.* = enabled
trac.iniのワークフローコントローラの一覧に、利用したいワークフローのオペレーションのコントローラを追記します:
[ticket] workflow = ConfigurableTicketWorkflow,TicketWorkflowOpOwnerReporter
(この例では、チケットの報告者、担当者に関するワークフローオペレーションを追加しています。詳しくは後述。)
次にカスタムワークフローにワークフローのオペレーションを追記します。
[ticket-workflow] needinfo = * -> needinfo needinfo.name = Need info needinfo.operations = set_owner_to_reporter
<someaction>.operations = set_owner_to_reporter
<someaction>.operations = set_owner_to_component_owner
<someaction>.operations = set_owner_to_field <someaction>.set_owner_to_field = mycustomfield
<someaction>.operations = set_owner_to_previous
<someaction>.operations = set_status_to_previous
<someaction>.operations = reset_milestone
<someaction>.operations = run_external <someaction>.run_external = Hint to tell the user.
someaction> = somestatus -> * <someaction>.operations = triage <someaction>.triage_field = type <someaction>.triage_split = defect->new_defect,task->new_task,enhancement->new_enhancement
accept = new -> * accept.name = Accept ticket into workflow accept.operations = triage accept.triage_field = type accept.triage_split = defect->new_defect,enhancement->new_enhancement resolve_enh = new_enhancement -> closed resolve_enh.name = resolve resolve_enh.operations = set_resolution submittotest = new_defect -> qa submittotest.name = Submit to Test resolve_def = qa -> closed resolve_def.name = resolve resolve_def.operations = set_resolution
;displays as "close as duplicate [_________]" dup = * -> closed dup.name = close dup.operations = set_resolution,xref dup.set_resolution = duplicate dup.xref = Ticket %s has been marked as a duplicate of this ticket. dup.xref_local = Closed as duplicate of %s.