Forums

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

Subtask option based on main issue type

Lakshmi CH
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.
October 13, 2022

Hi Team,

 Is there any way to display subtask options based on main issue type ?

For example, Setup ,Training/Demo, OPOV, and General subtasks on "Performance" issue type and only Sub-task on other issue types.

We have Script runenr, JMWE, and JSU addon, JIRA server 8.22.6.

Thanks!

1 answer

0 votes
Florian Bonniec
Community Champion
October 13, 2022

Hi @Lakshmi CH 

 

I will go with Bahaviour that is a feature from Scriptrunner do display only accepted type base on the parent type.

It will only work from the UI and will not prevent anyone to create unauthorized sub-tasks from the REST API for instance.

 

You can also add a validator in the create transition of the sub-task to avoid this.

 

Regards

Lakshmi CH
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.
October 17, 2022

Hi @Florian Bonniec ,

 Could you please provide if you have any sample scripts ? The requirement is 

Setup ,Training/Demo, OPOV, and General subtasks on "Performance" issue type and only Sub-task on other issue types.

 

Thanks!

Suggest an answer

Log in or Sign up to answer