Repo URL Pattern Macros

List of macros available for configure the cloning URL used when configuring mount points.

Overview

In External Connections and Mount Points, as discussed in the previous sections, there are two special fields that are treated differently by the system: the Git Repo URL Pattern and Git View URL Pattern.

These fields can contain macros which are expanded at run time and filled in with a value from another one of the fields in the record.

Macros begin with the $ character.

List of Macros

Macro Available in Git Host Type Description
$PAT All Allows the personal access token specified in the associated credential field to be injected into the final URL
$ORGNAME Azure DevOps Allows the Azure DevOps organization name specified in the associated field to be injected into the final URL
$PROJECTNAME Azure DevOps Allows the Azure DevOps project name specified in the associated field to be injected into the final URL
$REPONAME Azure DevOps, Bitbucket, GitHub Allows the Azure DevOps project name specified in the associated field to be injected into the final URL
$USERNAME Bitbucket Allows the Bitbucket user name specified in the associated credential field to be injected into the final URL. Used when specifying password credentials.
$WORKSPACEID Bitbucket Allows the Bitbucket workspace id specified in the associated credential field to be injected into the final URL. TODO: Review.
$OWNERNAME BitHub, GitLab Allows the account owner name specified in the associted field to be injected into the final URL