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.

Paul

4 answers

1 accepted

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");
tab1.hide();
tab2.hide();
tab3.hide();
tab4.hide();
showTab(3);
 
function showTab(tabId)
{          
   for(i = 1; i <= 4; i++)
   {
       var tableObject = document.getElementById('tab' + i);               
       if(tableObject)
       {
          if (i == tabId)
          {
             tableObject.style.display = 'table';
          }
          else
          {
             tableObject.style.display = 'none';
          }
       }
   }
}

check this also

https://answers.atlassian.com/questions/193814/how-to-show-hide-tabs-in-a-transition-screen-with-multiple-tabs

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 vote

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,316 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot