Forums

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

Can't create issue, getting error: "Sub-task are not allowed for this issue type"

Lars-Harald Båtnes January 11, 2024

I'm getting this error message when creating a cetain issue type called "Todo".

I've analyzed the issue type to find any difference to other issue types that are working as they should, but at this point im clueless of whats wrong.

 

Sub-tasks are defined in an own issue type, the sub-task issue type are on -1 in the issue hierarchy. "Sub-task" issue type are configured as an subtask type of issue in the config.

Todo issue are on level 0.

Both issue types are configured in the issue type scheme used in the project.

 

Any ideas of where to look next??

3 answers

1 accepted

0 votes
Answer accepted
John Funk
Community Champion
January 11, 2024

Hi Lars,

A couple of questions - is there is a post function in the workflow that fires during the create to create sub-tasks for this workflow? 

Second, why are you creating an issue type called To Do? That's a status, not an issue type. 

Third, what type of project is this? Software? Business? Is it Company-managed or Team-managed? 

Lars-Harald Båtnes January 11, 2024

Hi John, thank you for the tip.

Actually I hadn't checked the workflow scheme. There was an error there, the To Do issue type was assigned to the subtask workflow. Reassigned it and problem solved.

The issue is called "To Do" because my boss wanted me to name it like that...

Like John Funk likes this
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.
January 11, 2024

Yeah, this is one of the times you should stand up and tell your boss they are wrong.

Like # people like this
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.
January 11, 2024

Welcome to the Atlassian Community!

I strongly recommend getting rid of your "to do" type, it's the wrong name for an issue type.  You're putting people in a place where they are seeing "not to-do called to-do" in their reporting.  Completed / ended / finished / cancelled issues should never be shown as "to do", because they are not.  Choose a word like "task" instead.

Anyway, the question.  You have a validator or Behaviour on this issue type that is telling you that you're not allowed to create sub-tasks on the issue type.

Jira does not have any functionality that blocks sub-task creation on specific issue types.  If there is one or more sub-task types in the issue type scheme, then that type can be created below any base-level issue type.

So someone has coded something to give you this message.  If it's a Behaviour, it's only a warning, you can ignore it.  If it is a validator, then you're going to need to either get it fixed (i.e. removed, because it's a bad pattern, blocking your work), or change what your are entering into the issue such that you do not trigger it.

0 votes
Lars-Harald Båtnes January 11, 2024

image.pngimage.pngimage.pngimage.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events