...
The filter and build IDs are available in the Test Explorer URL:
If you are using the Jira Xray traceability report (in addition to, or instead of, the Parasoft traceability report), the test information sent to Jira must include the Fix Version field. By default, the DTP API does not populate the Fix Version field when it creates test execution entities in Jira, but you can add the fixVersion
fixVersions
parameter to your API and specify one or more values to populate the field:
No Format |
---|
curl -X POST "https://<host>:<port>/grs/api/v1.7/linkedApps/configurations/1/syncTestCases?filterId=<filterID>&buildId=<buildID>&fixVersionfixVersions=<version1>,<version2>" |
You must also first enable the Version field in your Jira project to use the fixVersion
fixVersions
parameter. The value of the parameter must match the version specified in your Jira project. In the following example, tests would be updated for fixVersionfixVersions=1.0
:
Refer to the Jira documentation for information about configuring versions.
...
Parameter | Value | Description | Required |
---|---|---|---|
filterId | integer | Specifies the filter ID containing the test data. The filter ID is an integer value and should not be confused with the filter name. | Required |
buildId | string | Specifies the build ID containing the test data. | Required |
fixVersion fixVersions | comma-separated list of string | Specifies a value for populating the Fix Version field in Jira. The Fix Version field is a necessary field for using Jira's traceability reports. | Optional |
groupResultsBySOAtestTST | boolean | Setting to Setting to Default is See Changing Test Granularity for SOAtest Results for additional information. | Optional |
...