The configuration is performed by the Parasoft administrator and only needs to be set up once.
In this section:
Sign into your organization in Azure DevOps (https://dev.azure.com/<yourorganization>
).
From your home page, open your user settings, and then select Personal access tokens.
Select the scopes for this token to authorize for your specific tasks.
Once your Personal access token is created, you can use it anywhere your user credentials are required for authentication in Azure DevOps.
You can modify the ExternalSystemSettings.properties configuration file located in the <DTP_DATA_DIR>/conf
directory to change the default behavior of the integration. DTP's out-of-the-box integration with Azure DevOps is configured to use default or commonly used fields and work item types. If you customized your Azure DevOps system, however, then you can configure the settings detailed below to align data in DTP with your custom configuration.
Please note that ExternalSystemSettings.properties is expected to use ISO 8859-1 (Latin1) character encoding. Any character not supported by ISO 8859-1 must be represented in keys and elements using Unicode escape sequences, which is to say a backslash (\) and a lowercase u, followed by the four-digit hexadecimal code for the character. For example, the "En Dash" (–) character (not to be confused with the "Hyphen-Minus" character (-)) is not supported by ISO 8859-1, so it must be represented by its Unicode escape sequence \u2013
. As a result, something like example.property.value=Foo – Bar
would need to be entered as example.property.value=Foo \u2013 Bar
.
azuredevops.workItem.url | Specifies the URL template to the specific item in Azure DevOps. Default:
|
---|---|
azuredevops.workItemType.requirements | Specifies the list of work item types in Azure DevOps treated as requirements in DTP Traceability reports, Parasoft C/C++ and SOAtest Requirements Views, and Test Case Synchronization processes. Separate names with a semi-colon ( ; ). Default:
|
azuredevops.syncTestCases.chunkSize | Sets the maximum number of work items used in the URL of a request when calling the Azure DevOps server during the syncTestCases operation. All results will be synced, but this limits the size of each request to the server to handle API restrictions such as URL length limits. The default value is 200. Default:
|
azuredevops.syncTestCases.pointsQueryChunkSize | Sets the maximum number of test case IDs used in the URL of a request when querying the Azure DevOps server for test points data during the syncTestCases operation. All results will be synced, but this limits the size of each request to the server to handle API restrictions to the URL length. Default:
|
If you upgraded your Parasoft DTP installation from a version prior to 2021.2, these Azure DevOps parameters might be missing in your ExternalSystemSettings.properties file. In this case, they take the default values shown in the table above. To change these parameters, be sure to add them to your ExternalSystemSettings.properties file. |