Skip to end of metadata
Go to start of metadata

Prototype Component


This component is in Prototype status, meaning it is not fully stable and may change with each release. This component is not recommended for use by anyone outside Atlassian.

What it does

The AJS.contextPath() function returns the "path" to the application, which is needed when creating absolute urls within the application, e.g.:

  • var url = AJS.contextPath() + "/rest/some/resource";
  • var url = AJS.contextPath() + "/dashboard.action";
  • No labels