AutoAssociateDefectToBuild
The AutoAssociateDefectToBuild command associates a remote defect residing in a remote defect-tracking system to a software build object. The association is based on the Build Version attribute of the software build object and the versions fields of the remote defect in the remote defect-tracking system. When there is no defect associated with the remote defect, the appropriate defect object is created.
Command-Line Syntax
java —jar RBMWebServiceCore.jar —ServiceName AutoAssociateDefectToBuild —ContainerType —ContainerName —BuildObjectName —BuildObjectLocation —Revision
Argument
|
Description
|
—ContainerType
|
One of LIBRARY, PRODUCT, or PROJECT.
|
—ContainerName
|
Name of the container.
|
—BuildObjectName
|
Name of the software build object.
|
—BuildObjectLocation
|
Location of the software build object in the specified container.
|
—Revision
|
Build revision ID. If no revision is specified, the latest iteration is used.
|
Configuration File Template
<service>
<ServiceName>AutoAssociateDefectToBuild</ServiceName>
<ContainerType>...</ContainerType>
<ContainerName>...</ContainerName>
<BuildObjectName>...</BuildObjectName>
<BuildObjectLocation>...</BuildObjectLocation>
<Revision>...</Revision>
</service>
Examples
• To associate remote defects with a software build object TestSWBld3 of build revision A, type:
java —jar RBMWebServiceCore.jar —ServiceName AutoAssociateDefectToBuild —ContainerType PRODUCT —ContainerName GOLF_CART —BuildObjectName TestSWBld3 —BuildObjectLocation Test Folder —Revision A
• To associate remote defects with a software build object TestSWBld3 located in the Test Folder, type:
java —jar RBMWebServiceCore.jar —ServiceName AutoAssociateDefectToBuild —ContainerType PRODUCT —ContainerName GOLF_CART —BuildObjectName TestSWBld3 —BuildObjectLocation Test Folder