Forums

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

Hide view screen tab with condition

Rob B
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 25, 2022

Is it possible to hide a tab on a view screen with a condition such as "Issue is not in status "X""?

Thanks

1 answer

0 votes
Kian Stack Mumo Systems
Community Champion
January 25, 2022

@Rob B

 

This is possible. This is not possible on the view screen. Behaviors can only be applied to the edit screen. Here's a link to the Adaptavist documentation on tab operations if you want to experiment with hiding tabs on the edit screen.

Rob B
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 26, 2022

Hi Kian,

What format does the condition need to be?

Thanks

Kian Stack Mumo Systems
Community Champion
January 26, 2022

Hey Robert,

 

I'm sorry to walk back what I said earlier. It is only possible to hide tabs on the edit screen. Behaviors cannot be applied to the view screen.

 

If you want to hide the tab on the edit screen, the condition would look like this -

if (underlyingIssue.getStatus().name == "To Do") {
hideTab(1)

 

I will edit my original answer to indicate that it is only possible on the edit/create screen.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.0
TAGS
AUG Leaders

Atlassian Community Events