Hide issue types from Sub task creation

Harry Kokay
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!
August 28, 2024

In one of our projects we want to hide 2 Issue Types when creating a Sub Task.

We have multiple Parent Issue Types, all of which you can create a Sub Task.

We have multiple Sub Tasks and want to only show some of them (we cant delete the subtasks as they have been used historically)

Example:

Parent is a Task. When I select Create Sub Task I have to select the Issue type.

Issue Types might be subtask one, subtask two, subtask three, subtask four and so on.

I need to hide subtask two and subtask three.

I found a behaviour script to hide issue types but that only applies to parent tasks. Does anyone have example that I could try to use?

2 answers

0 votes
Harry Kokay
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!
August 29, 2024

I found https://docs.adaptavist.com/sr4js/latest/features/behaviours/behaviours-examples/restricting-issue-types which works for parent issue types but not for sub tasks so wondering if there is a suitable scriptrunner script that can accomplish this for sub tasks

0 votes
Marc - Devoteam
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.
August 29, 2024

Hi @Harry Kokay 

All apps or issue security relate to the parent.

There was a feature request for this, but Atlassian declined it, JRASERVER-65857 

Marc - Devoteam
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.
August 29, 2024

A workaround can be to have separate issue types, that you link to the issue and have issue security set on these issues.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.12.12
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events