The Unexalate operation helps to stop synchronization of an issue. It removes all synchronization information, but keeps the original issue and the remote issue untouched. 

The issue data exchanged between these issues will not be removed.


Unexalate issue on JIRA Server

There are different ways to stop an issue synchronization on JIRA server:

  • Unexalate operation
  • Unexalate Now workflow post function
  • Using API

Unexalate operation

  1. Open an issue you want to connect with another issue

  2. Select More > Unexalate

    Unexalate operation is available only if the issue was synchronized before!


  3. The synchronization stops and sync panel link removes. Issues on both sides remain untouched. 

 

Unexalate Now workflow post function

Post functions carry out any additional processing required after a transition is executed. The exalate app provides Unexalate Now post function.

Steps to add the post function are the following:

  1. Navigate to the workflows and select the workflow to edit

  2. Select the transition to which you want to add the post function 
  3. Add Unexalate Now post function 

The Unexalate Now post-function will be executed only once all synchronization messages have been processed.

 

Unexalate Using API


// UNEXALATE SETTINGS

final def issueToBeUnexalated = "FOO-1"

// END UNEXALATE SETTINGS


import com.atlassian.jira.component.ComponentAccessor
/*
** Access the Sync Init Service which allows to 
*/
def exaPlugin = ComponentAccessor.getPluginAccessor().getEnabledPlugin("com.exalate.jiranode") as OsgiPlugin
def exaCl = exaPlugin.classLoader
def exaCa = exaPlugin.containerAccessor
def syncInitServClass = exaCl.loadClass("com.exalate.api.trigger.ISyncInitiationService")
def syncInitServ = exaCa.getBeansOfType(syncInitServClass).first()

/*
** effect an unexalate on a particular issue
*/
 
def targetIssue = ComponentAccessor.getIssueManager().getIssueObject(issueToBeUnexalated)
if (targetIssue) {
	syncInitServ.unexalate(targetIssue.id)
}
 

Unexalate issue on JIRA Cloud

There are 2 ways to stop an issue synchronization on JIRA Cloud:

  • Unexalate button on the issue view
  • Unexalate Now workflow post function

Unexalate button on the issue view

  1. Open an issue you want to connect with another issue
  2. Use Unexalate  button on the right sidebar 

    Unexalate operation is available only if the issue was synchronized before!


  3. The synchronization stops and sync panel link removes. Issues on both sides remain untouched.

'Unexalate Now' workflow post function

Post functions carry out any additional processing required after a transition is executed. The exalate app provides Unexalate Now post function.

Steps to add the post function are the following:

  1. Navigate to the workflows and select the workflow to edit

  2. Select the transition to which you want to add the post function 
  3. Add Unexalate Now post function