Use this command to modify the URI links in the repository.
Purpose
The modifyLinkURIs command
can be used to make modifications to URI links in the repository.
For Example, take a URI that looks https://<rtc-server>:<port>/jts/oslc/cqrest/
and change it to http(s)://<cq-server>:<port>/cqweb/oslc/.
Parameters
| Attribute |
Description |
Required |
Default |
| linkTypeId |
The ID of the type of link to modify. For example, "com.ibm.team.workitem.linktype.relatedChangeManagement". |
Yes |
|
| find |
A string inside of a URI to find. For example, https://<rtc-server>:<port>/jts/oslc/cqrest/. |
Yes |
|
| replace |
The new string to replace the existing string. For example,
http(s)://<cq-server>:<port>/cqweb/oslc/. |
Yes |
|
Example
repotools-jts -modifyLinkURIs linkTypeId="com.ibm.team.workitem.linktype.relatedChangeManagement" find=https://<rtc-server>:<port>/jts/oslc/cqrest/ replace=http://<cq-server>:<port>/cqweb/oslc/