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
We would like to make sure that when syncing a sub-task the parent task is always synced before that.
For doing that we added the following code to the outgoing instance:
–
//Sync parent task
if(issue.parentId){
def parentTask = httpClient.get("/rest/api/3/issue/"+issue.key).fields.parent
def parentTaskKey = new com.exalate.basic.domain.BasicIssueKey(parentTask.id, parentTask.key)
syncHelper.exalate(parentTaskKey)
}
Is this the right way to do it?
The documentation you describes this flow:
“Syncing Subtasks Automatically after Syncing Parent Task (Jira Cloud)”
What we would need is this:
“Syncing Parent Task Automatically when Syncing Subtask (Jira Cloud)”
Is it possible?
(posting on behalf of the client)