2
1
0

Hello,


I am configuring synchronization by referring to the page below.
When Jira deletes Parents Task, Subtask is automatically deleted together.
However, only the Parents Task is deleted from the synced data.
I want to delete Subtasks together.
Is there a good way?


https://docs.idalko.com/exalate/display/ED/Post+Exalate+processor#PostExalateprocessor-Deleteanissueifthetwinhasbeendeleted


Regards,

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0
      I solved it after adding this code.



      def issueService = ComponentAccessor.getIssueService()
      def subtasks = issue.getSubTaskObjects()
      
      subtasks.each {
      	issueService.delete(jiraProxyUser, it, EventDispatchOption.ISSUE_DELETED, false)
      }
      CommentAdd your comment...