Confluence has been updated to ver 6.15.9. In case of any troubles, please contact infra team.

Sync Epic ticket id as Taks's parent

 
1
0
-1
Hi, We are using Exalate for our Jira server. The sync is between two projects in the same instance. When opening an epic ticket in project A we would like that a task ticket will be opened in project B and that ticket will get the epic ticket number as a parent (epic link) Is it possible? if so, how? Thanks
  1. Francis Martens (iDalko)

    So - if I understand it well.

    The intention is that when an epic is created, a task is automatically added to the epic.


    This should be straightforward - I didn't try the following code - but it should be something like 


    if (firstSync and replica.type?.name == "Epic") {
       issue.projectKey = "B"
       issue.typeName = "Task"
    
       ...
       issue.customFields."Epic Link".value = replica.key
       ...
    
    }
CommentAdd your comment...