Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

question about aui tabs


I use AUI tabs to show 3 confiform tableview in 3 tabs. As describe in AUI.atlassian documentation there is on active (or main tab) and three other. MY pb is when I work in confiform table (table3 or 2 show in tab3 or 2) each time confiform refresh page it always return on First tab not on last tab used.

someone can help me to rest on current tab even if confiform refresh page after a new record ?


1 answer

1 accepted

I believe you can tell what tab should be active, and that is by adding #tabname to the url

Which means you can probably set ConfiForms to redirect (via IFTTT rule, for example) on submit (create/modify) to the url you need


Nop, it doesnt work. Even if I manually enter URL#tabname I have good URL in address bar but the page show always the the tab that was defined as active tab...

I think it s necessary to change active tab with js or jql but I don't know well scripts languages

I am not a pro in Atlassian aui tabs and this is really not my cup of tea, but after a bit of a research I think that this little script could help

<script type="text/javascript"> 
AJS.toInit(function () {

AJS.$(window).on('hashchange', function() {

function initTabFor() {
var hash = AJS.$(window.location).attr('hash');
if (hash !== '') {
AJS.tabs.change(jQuery('a[href="' + hash + '"]'));

You will need to put it on your page - what it does is, it reads the anchor from the URL and tells the tabs to "switch" to this anchor

Obviously the anchor needs to be the same as the ID of a tab

The example is based on the 

Hope it helps


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

Presenter Mode for Confluence is here 🖥 👩‍💻

👋  Hello Community!  My name is Stephanie Zhang, and I’m a product manager on the Confluence cloud team. Today, I’m excited to announce the rollout of  Presenter Mode : a ...

2,356 views 19 41
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you