Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to show/hide different tabs on the same issue type - subtask (without scripting if possible)

Marta Perez September 19, 2024

Hello!

I have added 3 tabs in my sub-task issue type and I need to be able to show certain tabs depending on some conditions.

I have an automation in place that creates different sub-tasks with different names during some transitions and I need the sub-task to show a specific tab depending the on the name.

Let's say: Sub-task A will show tab no1; Sub-task B will show tab no2, etc. 

Is it possible to accomplish this without creating a different sub-task issue type? 

PD. Client does not have Scritprunner or any other app, so ideally I would like to achieve this out of the box. 

Thank you in advance. 

Regards 

Captura de pantalla 2024-09-20 080452.png

1 answer

1 accepted

1 vote
Answer accepted
Manoj Gangwar
Community Champion
September 19, 2024

Hi @Marta Perez 

Normally it is not feasible but as a workaround, you do this:

You need to create three customfields and add one customfield on each tab apart from that you have to remove all other fields from the tabs. In the automation rule, you can set the field value based on the sub-task. For example- Sub-task1 then sets the field1 value to ABC, and Sub-task2 then field2 value DEF...using this it will show only that particular tab.

Marta Perez September 20, 2024

Hey Manoj, 

thank you for your quick answer! Even if I set up the automation and set specific fields during the subtask creation, the tab will be still visibile in the issue layout. I guess i would still need to create different issue types...?

Manoj Gangwar
Community Champion
September 20, 2024

I think empty fields are not hidden thats why they are showing in the tab and tab is not hiding due to this. 

If you have configured request type then under the request type click on issue view and move those fields under hide when field empty. 

Else you have to create the separate isaue types. 

Marta Perez September 23, 2024

Thank you Manoj. The issue type I need to configure is the subtask and it does not have a request type connected to it. In the end I created 2 more subtask issue types and configured the fields there. 

Thank you for your feedback :) 

Like Manoj Gangwar likes this
Manoj Gangwar
Community Champion
September 23, 2024

Please accept the answer so it marked as resolved. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events