SpiraPlan: SoapService SOAP Web Service

See all operations

CustomProperty_AddCustomList

Description

Adds a new custom list into the project template

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(credentials, remoteCustomList).CustomPropertyListId.Value;
            

Parameters

Type Name Required
RemoteCredentials? credentials - The credentials for accessing the API
RemoteCustomList? remoteCustomList - The new custom list object

Return Value

RemoteCustomList - The custom list object with the primary key set