Note
We've packed up and moved from Confluence to Discourse to bring you a better, more interactive space. Out of courtesy we didn't migrate your user account so - you will have to signup again
The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
Hi,
I use the workflow of parents task and subtask differently.
The parents task has different sync values, and the subtask has the same sync values. How can I configure this?
I used the code below, but only the code of Parents Task works.
// Parents Task
if(replica.parentid == null) {
if(replica.status.name == "To Do"){
issue.setStatus("Open")
}
if(replica.status.name == "In Progress"){
issue.setStatus("Work In Progress")
}
if(replica.status.name == "In Review"){
issue.setStatus("Work In Progress")
}
if(replica.status.name == "Done"){
issue.setStatus("Done")
}
}
// Sub Task
if(replica.parentid != null) {
if(replica.status.name == "To Do"){
issue.setStatus("Open")
}
if(replica.status.name == "Work In Progress"){
issue.setStatus("Work In Progress")
}
if(replica.status.name == "In Review"){
issue.setStatus("In Review")
}
if(replica.status.name == "Done"){
issue.setStatus("Done")
}
}
Also, I am configuring in an on-premise local environment.
Regards,