Forums

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

Sub-task issue type is blocked from removal even though there are no sub-tasks

Geoffrey Hoffman August 29, 2021

We no longer wish to use Sub-tasks in Jira. 

 

I have a project in which I moved all sub-tasks returned by JQL in a batch operation to regular tasks. The bulk operation completed successfully.

I now have zero sub-tasks. I even added one of the available sub-task types and double checked there are none. E.g. 

project = "XYZ" AND type in subTaskIssueTypes() ORDER BY created DESC

2021-08-29_18-57-Jira.pngRegardless of my inability to see any tasks of type sub-task, Jira is preventing me from removing the sub-task type. The error it is giving is 

There are 3 sub-tasks that will be affected by this change. You must have at least one valid sub-task issue type.

2021-08-29_18-58-Jira.png

1 answer

0 votes
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.
August 30, 2021

Welcome to the Community!

I would guess that the message is accurate.  I think your search is missing the three sub-tasks because it says "project = xyz", but if you take a look at the line under "Modify issue type scheme", you'll see it says "shared by 2 projects".  (I know, there's a lot on screen here, and it doesn't jump out at us, it is easy to miss). 

So my guess is that the other not-xyz project has the three sub-tasks in it, and you'll need to convert or get rid of them before you can change the scheme.

Geoffrey Hoffman August 30, 2021

Thanks for the clue! Will look at that.

Suggest an answer

Log in or Sign up to answer