- 1. API
- 2 Configuration
- 3. Department
-
4. User
- 4.1 Get Parameters of Add User
- 4.2 Add User
- 4.3 Get User List
- 5. Product
- 6. Project
-
7. Task
- 7.1 Get Task List
- 7.2 Get Task Optional Information
- 7.3 Add Task
- 7.4 Finish Task Optional Information
- 7.5 Finish Task
- 8. Bug
Get Project Optional Information
- 2020-03-24 10:45:43
- John Ten
- 3077
- Last edited by Taotao on 2020-03-24 20:09:24
- Share links
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": [] } |
Write a Comment
Support
- Book a Demo
- Tech Forum
- GitHub
- SourceForge
About Us
- Company
- Privacy Policy
- Term of Use
- Blogs
- Partners
Contact Us
- Leave a Message
- Email Us: [email protected]