| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = This plugin enables a field to select a specific user according to config. This field can later be used in workflow. |
| 4 | |
| 5 | == Description |
| 6 | |
| 7 | 1. Create a select Custom Field |
| 8 | |
| 9 | {{{ |
| 10 | project_usera = select |
| 11 | project_usera.format = user |
| 12 | project_usera.user = Manager # |
| 13 | }}} |
| 14 | |
| 15 | where: |
| 16 | * field type must be 'select', |
| 17 | * format must be 'user', |
| 18 | * user is optional and default to 'authenticated', and can be set to comma seperated users, groups or PERMISSIONS. |
| 19 | |
| 20 | 2. Use this user in workflow |
| 21 | {{{ |
| 22 | pj0102_test = PJ01 -> PJ02 |
| 23 | pj0102_test.operations = set_owner |
| 24 | pj0102_test.name = test |
| 25 | pj0102_test.set_owner = $project_usera |
| 26 | }}} |
| 27 | |
| 28 | all you need to do is use a '$' with the field name. |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | == !Bugs/Feature Requests |
| 34 | |
| 35 | Existing bugs and feature requests for TracUserSelectFieldPlugin are |
| 36 | [report:9?COMPONENT=TracUserSelectFieldPlugin here]. |
| 37 | |
| 38 | If you have any issues, create a |
| 39 | [/newticket?component=TracUserSelectFieldPlugin new ticket]. |
| 40 | |
| 41 | [[TicketQuery(component=TracUserSelectFieldPlugin&group=type,format=progress)]] |
| 42 | |
| 43 | == Download |
| 44 | |
| 45 | Download the zipped source from [export:tracuserselectfieldplugin here]. |
| 46 | |
| 47 | == Source |
| 48 | |
| 49 | You can check out TracUserSelectFieldPlugin from [/svn/tracuserselectfieldplugin here] using Subversion, or [source:tracuserselectfieldplugin browse the source] with Trac. |
| 50 | |
| 51 | == Installation |
| 52 | |
| 53 | General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. |
| 54 | |
| 55 | Special: |
| 56 | UserSelectFieldPlugin should be activated, but PatchedTicketSystem is not supposed to be activated! |
| 57 | |
| 58 | == Recent Changes |
| 59 | |
| 60 | [[ChangeLog(tracuserselectfieldplugin, 3)]] |
| 61 | |
| 62 | == !Author/Contributors |
| 63 | |
| 64 | **Author:** [wiki:cauly] [[BR]] |
| 65 | **Maintainer:** [[Maintainer]] [[BR]] |
| 66 | **Contributors:** |