2011-11-01 4 views
2

Mantisbt 1.2.8에서 작업 중입니다. 문제점 생성시 표시되는 필드를 사용자 정의하려고합니다. 지금까지는 필드를 추가 할 수 있었지만 기본 필드를 제거하거나 숨기지 않았습니다.
설명을위한 (DUMMIES, jeje) 단계 설명을위한 튜토리얼을 찾을 수 없습니다.
1. 문제를 생성 할 때 필드를 구체적으로 설정하는 방법 및
2. 사용자 정의 워크 플로를 정의하는 방법 상태 및 전환.

나는 정말 도움이된다.Mantisbt의 발행 필드 및 전환 사용자 정의

답변

2

config_inc.php 파일에서 필드 및 워크 플로 상태/전환을 정의 할 수 있습니다. config_defaults_inc.php에 설명 된대로

(이 파일에서 좋은 정보 많이)

/** 
* 'status_enum_workflow' defines the workflow, and reflects a simple 
* 2-dimensional matrix. For each existing status, you define which 
* statuses you can go to from that status, e.g. from NEW_ you might list statuses 
* '10:new,20:feedback,30:acknowledged' but not higher ones. 
* The following example can be transferred to config_inc.php 
* $g_status_enum_workflow[NEW_]='20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved'; 
* $g_status_enum_workflow[FEEDBACK] ='10:new,30:acknowledged,40:confirmed,50:assigned,80:resolved'; 
* $g_status_enum_workflow[ACKNOWLEDGED] ='20:feedback,40:confirmed,50:assigned,80:resolved'; 
* $g_status_enum_workflow[CONFIRMED] ='20:feedback,50:assigned,80:resolved'; 
* $g_status_enum_workflow[ASSIGNED] ='20:feedback,80:resolved,90:closed'; 
* $g_status_enum_workflow[RESOLVED] ='50:assigned,90:closed'; 
* $g_status_enum_workflow[CLOSED] ='50:assigned'; 
* @global array $g_status_enum_workflow 
*/ 

/** 
* An array of the fields to show on the bug report page. 
* 
* The following fields can not be included: 
* id, project, date_submitted, last_updated, status, 
* resolution, tags, fixed_in_version, projection, eta, 
* reporter. 
* 
* The following fields must be included: 
* category_id, summary, description. 
* 
* To overload this setting per project, then the settings must be included in the database through 
* the generic configuration form. 
* 
* @global array $g_bug_report_page_fields 
*/ 
관련 문제