SpiraTeam: ImportExport SOAP Web Service

See all operations

CustomProperty_UpdateCustomProperties

Description

Saves the updated custom property configuration for a project

This method performs the necessary inserts, updates and deletes on the custom properties. However it does not update the custom lists or custom list values themselves. For that you need to use the UpdateCustomList() function instead

Example(s)

            remoteCustomProperty = new RemoteCustomProperty();
            remoteCustomProperty.ArtifactTypeId = (int)CustomProperty.ArtifactType.Requirement;
            remoteCustomProperty.CustomPropertyId = 11;
            remoteCustomProperty.ProjectId = projectId1;
            remoteCustomProperty.Alias = "Req Type";
            remoteCustomProperty.CustomList = remoteCustomList;
            spiraImportExport.CustomProperty_UpdateCustomProperties((int)CustomProperty.ArtifactType.Requirement, RemoteCustomProperty[] { remoteCustomProperty });
            

Parameters

Type Name Required
intartifactTypeId - The type of artifact the custom properties belong to Yes
ArrayOfRemoteCustomProperty? remoteCustomProperties - The list of custom properties to be persisted

Return Value

-