1
0
-1

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)

    CommentAdd your comment...