change tabs in edit screen depending on issue status

ClaireYang March 28, 2019

Hi,

I wonder is it possible to change tabs automatically when edit case in specified status?

In a whole workflow, we have status A, status B and Status C, in edit issue screen there are tab A, tab B and tab C. When issue is in status A, and click "Edit", I want to show tab A in screen. And if issue is in status B, when user click "Edit", it will show tab B in edit screen. And so does tab C (when issue in status C).

Can it be done by scriptrunner?

Thank you very much!

 

Claire

1 answer

1 accepted

0 votes
Answer accepted
Antoine Berry
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 29, 2019

Hi,

That is indeed possible using behaviours. For example : 

if (underlyingIssue.getStatus().getName() == "A"){
hideTab("B")
hideTab("C")
}

Antoine

ClaireYang April 7, 2019

Hi Antoine,

 

Thank you very much, I'll try it.

Like Antoine Berry likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events