How do I get the actual page path

Nikolaj Jøker
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 12, 2017

I want to write a macro that inserts a link to the WebDav path of the current page.

I cant find anything besides $req.requestURI and  $content.getUrlPath() which returns the "short path" of the page, which doesn't work with webdav. So how do I get the "full path" of the page?

 

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 23, 2024

Hi @Nikolaj Jøker ,

please try 

$action.getGlobalSettings().getBaseUrl()$content.getUrlPath()

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events