How to get Confluence base url using beanshell

Pangianto Pang
Contributor
August 14, 2012

hi all,

How do i get the Confluence Base Url using beanshell? I have been searching everywhere :(

Thanks in advance.

1 answer

1 accepted

1 vote
Answer accepted
Bob Swift (personal)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2012

You mean the beanshell macro? Use pre-defined variable: confluenceDomain

Pangianto Pang
Contributor
August 15, 2012

Hi Bob,

Thanks for your help. It is exactly what i am looking for.

Anyway where can i find the all the predefined variable for the beanshell macro?

Bob rocks!

Bob Swift (personal)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 15, 2012

Pre-defined variables - that one was missing, so I added it there :).

BTW, consider switching to Groovy. Beanshell is dormant and it is pretty easy to switch over.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events