Forums

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

Can workflow vary from sub-task to sub-task

smaction June 20, 2018

I have  a certain type of sub-task that need to be only open and done as opposed to going through multiple steps like the default workflow.  However, not all sub-tasks should have this alternate workflow.  Is there a way to assign the type of workflow when the sub-task is created?  If not through the UI, then programmatically?

 

TIA

2 answers

1 accepted

1 vote
Answer accepted
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.
June 20, 2018

No, the sub-task issue type determines the workflow.  You can only allocate one workflow per type.

Nothing to stop you having two types of sub-task with different workflows though (and using "move issue" to swap between them if the wrong one is raised)

0 votes
Sana Safai
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.
June 20, 2018

An alternative way to do it is to use mutually exclusive transition conditions in the same workflow to create the impression of two different workflows in one. You can set some custom field value and have the conditions be based on whether that custom field is A or B. This is not an optimal solution but it's a way to do it if you can only use one sub-task issue type (which limits you to one workflow). 

Suggest an answer

Log in or Sign up to answer