How to avoid subtask creation in an specific flow?

Hi,

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,

 

Begoña

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!!

 

Bharadwaj

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,321 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot