- Configuration
- Department
- User
- Product
- Project
- Task
- 6 Get Task List
- 6 Get Task Optional Information
- 6 Add Task
- 6 Finish Task Optional Information
- 6 Finish Task
- Bug
Get Project Optional Information
- 2020-03-24 10:45:43
- John Ten
- 1770
- Final Edition:tengfei De 2020-03-24 20:09:24
Method Description |
Request this method to get the list information of active products, which is used to be linked to the product when adding a project, so the project is linked to stories of the product. A list of privilege groups can also be obtained for the access control of the project. |
|||||||||
Example |
public function getProjectCreateParams() { include_once('../vendor/zentao/zentao.php'); $zentao = new \zentao(); $extraFields = array('title', 'projects', 'groups', 'allProducts'); $result = $zentao->getProjectCreateParams(array(), $extraFields); // customize fields return $result; } |
|||||||||
Request | GET | |||||||||
Method |
getProjectCreateParams |
|||||||||
Parameter |
|
|||||||||
Result |
success | error | ||||||||
{ "status": 1, "msg": "success", "result": { // the navbar of ZenTao "title": "Add Project", // the list of project added "projects": { "1": "ZenTao PHP-SDK Dev", "2": "Taobao Project Dev", "3": "Tmall Project Dev", "_empty_": "" }, // a list of privilege groups "groups": { "1": "Admin", "2": "Dev", "3": "QA", "4": "PM", "5": "PO", "6": "Dev Director", "7": "Product Director", "8": "QA Director", "9": "Senior Manager", "10": "Other", "11": "guest", "12": "limited user" }, // a list of products that can be linked "allProducts": { "0": "", "1": "ZenTao-PHP-SDK", "2": "Product B", "4": "Product C", "5": "Product D", "6": "Product E", "9": "Product X" } } } |
{ "status": 0, "msg": "error", "result": [] } |
Commenter
Produit
- ZDOO
- ZDOO Cloud
- ZSITE
Contactez-Nous
- A propos de nous
- Courriel: Philip@easycorp.ltd
- WhatsApp: 0086 18563953295
- Skype: philip517