Loading...
 
Skip to main content

History: Category_Transition_Demonstration

Source of version: 6

Copy to clipboard
            This is a profile to demonstrate the ((dev:Category Transition)) feature.

It now works for wiki pages, trackers and tracker items. Next step is to make it work with
# Individual files 

To test tracker items, just create a tracker and have a category field. (This should be added to the profile below)


{CODE(caption=>YAML,wrap=>1)}
preferences:
 feature_category_transition: y
 feature_categories: y
objects:
 -
  type: module
  data:
   name: category_transition
   position: right
   order: 1
 -
  type: category
  ref: progress
  data:
   name: In Progress
   items:
    - [ wiki page, HomePage ]
 -
  type: category
  ref: pending
  data:
   name: Pending Approval
 -
  type: category
  ref: approved_by_dev
  data:
   name: Approved by DEV
 -
  type: category
  ref: approved_by_qa
  data:
   name: Approved by QA
 -
  type: category
  ref: approved
  data:
   name: Approved
 -
  type: transition
  data:
   name: Request Review
   type: category
   from: $progress
   to: $pending
 -
  type: transition
  data:
   name: Approve
   type: category
   from: $pending
   to: $approved
   guards:
    - [ exactly, 2, [ $approved_by_dev, $approved_by_qa ] ]
 -
  type: transition
  data:
   name: Reject
   type: category
   from: $pending
   to: $progress
 -
  type: transition
  data:
   name: OK Dev
   type: category
   from: $pending
   to: $approved_by_dev
   preserve: y
 -
  type: transition
  data:
   name: OK QA
   type: category
   from: $pending
   to: $approved_by_qa
   preserve: y
{CODE}
        

History

Information Version
Fri 02 of Sep, 2011 12:26 GMT-0000 Marc Laporte clearer 9
Sat 18 of Sep, 2010 17:00 GMT-0000 Marc Laporte tiki-admin_transitions.php is nice 8
Thu 29 of Oct, 2009 18:09 GMT-0000 Marc Laporte 7
Fri 16 of Oct, 2009 23:25 GMT-0000 Marc Laporte Congrats Sylvie 6
Wed 30 of Sep, 2009 01:13 GMT-0000 Marc Laporte 5
Tue 29 of Sep, 2009 19:22 GMT-0000 Marc Laporte 4
Fri 18 of Sep, 2009 18:14 GMT-0000 System Administrator 3
Fri 07 of Aug, 2009 15:47 GMT-0000 System Administrator 2
Fri 07 of Aug, 2009 15:34 GMT-0000 System Administrator 1