2
1
0
1 answer
- 10-1
Hello, smpark, might I ask you to try changing all references of
replica.parentid
to bereplica.parentId
instead ?
Let me know, how it goes.CommentAdd your comment...
Overview
Content Tools
search
attachments
weblink
advanced
The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
Hello, smpark, might I ask you to try changing all references of replica.parentid
to be replica.parentId
instead ?
Let me know, how it goes.
© 2019 Exalate. All rights reserved.
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,