Forums

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

Two type of subtasks. Make subtask A default for issue type A and subtask B for issue type B

Sunil Yadav March 28, 2018

I have created two issue types viz. User Story and Change Request and two subtasks types viz. User Story Subtask and Change Request subtask. When I create subtask in user story, both the options of subtasks are visible. I want to remove other option or atleast make only one option default so that users will create user story subtasks in user story issue type and change request subtask in change request issue type.
Please guide me. This is very important to avoid manual errors.

1 answer

1 vote
Nic Brough -Adaptavist-
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.
March 28, 2018

Jira has no code that makes sub-tasks specific to parent types at all.  If you can create a sub-task in a project, you can create any type under any type of parent.

You'll need to think about code to do this - specifically a validator which can block the user from creating the "wrong" type of issue.

Michael Arndt
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.
June 30, 2019

I'm experiencing this issue as well. 

I can't see how to set this up using validators.

Is there at least a way to setup a default subtask type depending on the parent issue type? 

Nic Brough -Adaptavist-
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.
June 30, 2019

No, you will need to write/script validators that look at the parent issue type and block the sub-task creation if they are of the "wrong" type.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events