Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

Bulk connect with sub-tasks sync

 
1
0
-1

Hi,


I am trying to use Bulk Connects to sync a user story and its sub tasks from Jira Cloud to Azure DevOps, my csv file as below

TES-20,80609    (user story - user story)
TES-23,80610    (sub-task - task)


Problem is that sub-task TES-23 is synced with a new created task, not 80610 as expected in csv file.


I think it is caused by this script below, I am using it to sync sub-tasks  (https://docs.idalko.com/exalate/display/ED/How+to+synchronize+tasks+and+subtasks)

Jira Outgoing sync 

// Automatically sync all subtasks when syncing parent task
httpClient.get("/rest/api/3/issue/"+issueKey.id).fields.subtasks?.collect{
    def subTaskKey = new com.exalate.basic.domain.BasicIssueKey(it.id, it.key)
   syncHelper.exalate(subTaskKey)
}


Do you have any suggestion to make it work as expected in this case?


Thanks,

Patrick

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      That requires us to edit script each time using bulk connect.

      Can we know if bulk connect is running? so we can have a check like this

      if(!bulkConnect){

       // syn tasks

      }

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Can you disable this logic during the bulk connect?

          CommentAdd your comment...