Serena Agile Web Services API → Item Management → ItemManagement Webservice Methods → CreateItem
Description
This method creates an item with a specified set of properties and attributes.
Arguments
| Parameter | Datatype | Description |
|---|---|---|
| token | string | A security token authorizing access to the web service. |
| typeName | string | The system name associated with type of item to create, such as a Folder, Project, Release, Sprint, or Team. System names for these types are shown in the table below. |
| name | string | The name to be given to the item. |
| parentId | int | The Id of the parent item. If the item is to be created as a child of the root, use an Id value of 1. |
| fields | ItemAttribute[] | An array of attributes and values to be set on the item. |
System names for items that can be created with the CreateItem method are shown in the following table:
| Item type | System name |
|---|---|
| Folder | Portfolio |
| Project | Agile_Product |
| Release | Agile_Release |
| Sprint | Agile_Sprint |
| Team | Agile_Team |