LinkDefectToBuild
The LinkDefectToBuild associates a software build with a defect based on the remote defect ID. If no defect is associated with the specified remote defect, an appropriate defect is created.
Command-Line Syntax
java —jar RBMWebServiceCore.jar —ServiceName LinkDefectToBuild —Repository —LinkType —ContainerType —ContainerName —BuildObjectName —BuildObjectLocation —DefectID —Revision
Argument
Description
—Repository
Name of the repository representing a defect-tracking system from which a remote defect can be fetched using the DefectID argument.
—LinkType
Must have one of the values: SubmittedTo or ReportedIn.
—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.
—DefectID
List of comma-separated remote defect identifiers.
—Revision
Build revision ID. If no revision is specified, the latest iteration is used.
Configuration File Template
<service>
<ServiceName>LinkDefectToBuild</ServiceName>
<Repository>...</Repository>
<LinkType>...</LinkType>
<ContainerType>...</ContainerType>
<ContainerName>...</ContainerName>
<BuildObjectName>...</BuildObjectName>
<BuildObjectLocation>...</BuildObjectLocation>
<DefectID>defectID1,defectID2...</DefectID>
<Revision>...</Revision>
</service>
Was this helpful?