Syntax | admUpdateProject(key, name, description, url, category, defaultUser, assign_to_def_user[, permissionScheme, issueSecurityScheme, notificationScheme]) | Package | adm |
Alias |
| Pkg Usage | updateProject(key, name, description, url, category, defaultUser, assign_to_def_user[, permissionScheme, issueSecurityScheme, notificationScheme]) |
Returns true if the project is updated.
Parameter name | Type | Required | Description |
---|---|---|---|
key | string | Yes | The project key. The value must be unique. |
name | string | Yes | The project name. The value must be unique. |
description | string | Yes | The project description. |
url | string | Yes | The project URL. Leave blank if no URL is available. |
category | string | Yes | The project category. Leave blank if no category is available. |
defaultUser | string | Yes | The default project assignee. |
assign_to_def_user | boolean | Yes | Set to true to assign issues to the user by default. In this case, you must specify a user. |
permissionScheme | string | No | The permission scheme ID or name. Leave blank if no permission scheme is available. |
issueSecurityScheme | string | No | The issue security scheme ID or name. Leave blank if no issue security scheme is available. |
notificationScheme | string | No | The notification scheme ID or name. Leave blank if no notification scheme is available. |
Boolean
Returns true if the project is updated.
use "adm";
persistent int countCMP=0;
string keyprj = "CX"+ countCMP++;
string nameprj= "One very complex project" + countCMP;
boolean retUpd = updateProject(keyprj, nameprj, "another fun description", "https://goggle.com", null, currentUser(), true,
permissionScheme("Default Permission Scheme").id,
issueSecurityScheme("Simplified Issue Security Scheme").id,
notificationScheme("Default Notification Scheme").id);
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.