Get a relative ref from the specified ref.
All server information will be stripped before being returned.
Namespace: Rally.RestApiAssembly: Rally.RestApi (in Rally.RestApi.dll) Version: 3.1.1.0 (3.1.1.0)
Syntaxpublic static string GetRelativeRef(
string reference
)
Public Shared Function GetRelativeRef (
reference As String
) As String
public:
static String^ GetRelativeRef(
String^ reference
)
static member GetRelativeRef :
reference : string -> string
Parameters
- reference
- Type: SystemString
The absolute ref to be made relative
Return Value
Type:
StringThe relative version of the specified absolute ref
Examplesstring fullyQualifiedRef = "https://rally1.rallydev.com/slm/webservice/v2.0/portfolioitem/feature/1234";
string relativeRef = Ref.GetRelativeRef(fullyQualifiedRef);
See Also