SpiraTeam: ImportExport SOAP Web Service

See all operations

CustomProperty_AddCustomList

Description

Adds a new custom list into the project

Also adds any custom list values if they are provided

Example(s)

            RemoteCustomListValue remoteCustomListValue = new RemoteCustomListValue();
            remoteCustomListValue.Name = "Feature";
            remoteCustomListValue.Active = true;
            RemoteCustomList remoteCustomList = new RemoteCustomList();
            remoteCustomList.Name = "Req Types";
            remoteCustomList.Active = true;
            remoteCustomList.Values = new RemoteCustomListValue[] { remoteCustomListValue };
            customListId1 = spiraImportExport.CustomProperty_AddCustomList(remoteCustomList).CustomPropertyListId.Value;
            

Parameters

Type Name Required
RemoteCustomList? remoteCustomList - The new custom list object

Return Value

RemoteCustomList - The custom list object with the primary key set