This use case shows how you can connect 2 JIRA's such that one JIRA is used for servicing customers, and the other for tracking development tasks.


Service Desk Case


Video


JIRA Configuration

To support the Send to development function, the workflow of the Service desk configuration should be slightly changed.


You need to add an Exalate post function to the Send to development transition using previously created connection DeskDev.

The Exalate post function is the last in the list as the synchronization needs to take all the changes (such as comments) with it.


Sync rules Setup


Service desk configurationDevelopment JIRA configuration
Outgoing sync



 replica.key            = issue.key
replica.assignee       = issue.assignee 
replica.reporter       = issue.reporter
replica.summary        = issue.summary
replica.description    = issue.description
replica.comments       = issue.comments
replica.resolution     = issue.resolution
replica.status         = issue.status
replica.project        = issue.project
replica.attachments    = issue.attachments



 replica.key            = issue.key
replica.assignee       = issue.assignee 
replica.reporter       = issue.reporter
replica.summary        = issue.summary
replica.description    = issue.description
replica.comments       = issue.comments
replica.resolution     = issue.resolution
replica.status         = issue.status
replica.project        = issue.project
replica.attachments    = issue.attachments


Incoming sync

 

if (firstSync) {
  return // ignore incoming requests to create issues
} else {
issue.summary      = replica.summary
issue.description  = replica.description
issue.comments += replica.addedComments
issue.attachments += replica.addedAttachments

//When the development issue is resolved, trigger the development ready transition

if (replica.resolution != null) {
  issue.doTransition = "Development Ready"
}
}

 


issue.projectKey   = "ACME"
issue.typeName     = "Task"
issue.summary      = replica.summary
issue.description  = replica.description
issue.comments += replica.addedComments
issue.attachments += replica.addedAttachment

//When the remote issue is in status 'waiting for development' and the local issue has been closed, reopen it

if (replica.status.name == "Waiting for development" && issue.resolution != null) {
  issue.doTransition = "Reopen"
}

 


 


Need help ?

Check our Support options.