How to avoid subtask creation in an specific flow?


I need to avoid the action "Create sub-task" in an specific workflow. How can I do that?

I need that sub-task type exists in the project but it's creation must be made in a controled way.

Thanks in advance,



9 answers

What would be your controled way of subtask creation?

I need to create substasks by means a transition because when I create a subtasks I need that specific customfields has specific values (calculated values). Also, users only can create subtask in specifc status of issues

So you could add a validator in the subtask creation step that parent must be in certain step. Would that be enough?

But a validator doesn't avoid the creation action was available to the user. I'd like to deactivate "Create sub-task" jira action located in "More" menu and to include a new transition in my flow in the rigth status to do that. In this action I can include conditions/validatos and postfuntions acording to the requirements I have for creating subtasks.

The menu will be available yes, but it will lead to an error "It seems you tried an illegal opperation...", so an user can't use it.

And is there no way to deactivate this option?

Maybe there is if you do some coding, but I don't know how.

Thanks Udo, I'll try with your indications

Hi Begoña Bonet,

In the link, Jobin specified hiding Create Sub-Task button by means of JavaScript.

Hope it helps!!



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,115 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you