Forums

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

ScriptRunner Behaviours Show Tab while checkbox is selected

markusbe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 22, 2018

I try to modulise a complex Create dialog in Jira Software

the create dialog has 4 tabs
i want to initial hide 3 tabs and then show it when an checkbox is selected

checkbox 1 selected show tab 1
checkbox 1 and 2 selected show tab 1 and 2
and so on

any suggestions?

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
7 votes
Answer accepted
Ivan Tovbin
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 Champions.
February 21, 2018

You can do it like so:

def issueMgr = ComponentAccessor.getIssueManager()


def issues = issueMgr.getIssueObjects(issueMgr.getIssueIdsForProject(projectId))

This will return an Array List of all issues in a project with the given 'projectId' 

TAGS
AUG Leaders

Atlassian Community Events