SpiraPlan: SoapService 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(credentials, projectId, remoteAssociation);
Parameters
Type | Name | Required |
---|---|---|
RemoteCredentials? | credentials - | |
int | projectId - | Yes |
RemoteAssociation? | remoteAssociation - The association to add |
Return Value
RemoteAssociation - The association with its primary key populated