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

This widget could not be displayed.

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

This widget could not be displayed.

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.

This widget could not be displayed.

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!

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

82 views 1 0
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