SpiraPlan: ImportExport SOAP Web Service

See all operations

Association_Create

Description

Adds a new association in the system

Example(s)

            RemoteAssociation remoteAssociation = new RemoteAssociation();
            remoteAssociation.SourceArtifactId = requirementId1;
            remoteAssociation.SourceArtifactTypeId = (int)DataModel.Artifact.ArtifactTypeEnum.Requirement;
            remoteAssociation.DestArtifactId = incidentId1;
            remoteAssociation.DestArtifactTypeId = (int)DataModel.Artifact.ArtifactTypeEnum.Incident;
            remoteAssociation.Comment = "They are related";
            spiraImportExport.Association_Create(remoteAssociation);
            

Parameters

Type Name Required
RemoteAssociation? remoteAssociation - The association to add

Return Value

RemoteAssociation - The association with its primary key populated