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
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

419 views 7 5
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