Choose a tab to be visible on a screen when a user encounters it in the workflow

Hi there,

First question here - I have searched to see if this was previously asked with no result.

Is it possible to make a screen open on a specific tab when the user encounters it during the workflow? Example, let's say I have a screen with 4 tabs (A, B, C and D). As a user I am a few transitions down in the workflow and as such the relevant information for me to enter is only on the C tab - is it possible that when I open the issue that tab is already visible to me so I do not have to click on it to enter the fields therein?

I hope that is clear.

Thanks in advance.


4 answers

1 accepted

Accepted Answer
0 votes

try something like this using JavaScript

var tab1      = AJS.$("a[href='#tab1']").closest("li");
var tab2      = AJS.$("a[href='#tab2']").closest("li");
var tab3      = AJS.$("a[href='#tab3']").closest("li");
var tab4      = AJS.$("a[href='#tab4']").closest("li");
function showTab(tabId)
   for(i = 1; i <= 4; i++)
       var tableObject = document.getElementById('tab' + i);               
          if (i == tabId)
    = 'table';
    = 'none';

check this also

Thanks for the information.

I guess my alternative for, let's say, a screen with 6 tabs (each related to a transition in the workflow) would be to have 6 different transition screens, each with a limited number of fields, with the final screen highlighting all the fields. This would allow each different user to only be concerned wtih their own information.

0 votes

You can't do this out of the box. Maybe you can do some javascript hacks. Have a field which is visible only on that workflow transition and add some script in its description to select the tab on load. or something similar!

Thank you both. Apologies for not spotting that previous post beforehand.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,640 views 2 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you