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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

689 views 6 13
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