Seeking 'Homepage' parameter

Boris June 1, 2014

How can I get/modify(inject) homepage via AJS? Is there a direct parameter that I can tamper with?

What I want to do is:

if (AJS.params.remoteUser != '') { homepage = 'page1' } else {homepage = 'page2'}

I know that I can do it using:

window.location.href

But I have noticed that when changing 'homepage', redirect happens much faster (without the refresh), like on the lower level. So I would like to exploit it if possible

P.S. Trying to inject through CustomHML -> End Of Head

2 answers

0 votes
David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
June 1, 2014

Do you mean site home (which defaults to the dashboard) or space home?

0 votes
Boris June 1, 2014

Site home (the one in General Configurations -> Further COnfigurations)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events