Exalated

Given two JIRAs: JIRA A (https://a.com) and JIRA B (https://b.com). A synchronizing to B via relation "AtoB":

Whenever an issue A-1 (id 10000, on JIRA A) has been successfully exalated (meaning all the exalate set up processes have been finalized on both the nodes) to an issue B-1 (id 20000, on JIRA B):

  • an EXALATED event is fired on JIRA A (when the exalate activities for the first sync have been completed, the response from JIRA B has been received and processed)
  • an EXALATED event is fired on JIRA B (when the exalate activities for the first sync have been completed, the request from JIRA A has been processed and the response to JIRA A has been sent successfully)

Parameters available when receiving and event

One can subscribe to all the "Issue Event"s and then, using their 
public Map<String, Object> getParams()


method, get the following event context values:




Parameter KeyParameter Value ConstraintsParameter Value DescriptionParameter Value Java Type
1

LOCAL_ISSUE_ID

Non-nullThe id of the local issue been exalated.java.lang.Long
2

LOCAL_ISSUE_URN

Non-nullThe key of the local issue been exalated.java.lang.String
3REMOTE_ISSUE_ID Non-nullThe id of the remote issue been exalated.java.lang.Long
4REMOTE_ISSUE_URN Non-nullThe key of the remote issue been exalated.java.lang.String
5RELATION_NAME Non-nullThe name of the relation under which the issues have been exalated.java.lang.String
6INSTANCE_NAMENon-nullThe name of the remote Instance, the remote issue is on.java.lang.String
7INSTANCE_URLNon-nullThe url of the remote Instance, the remote issue is on.java.lang.String
8EXALATE_JIRA_EVENT_TYPE"EXALATED" (constant)The identifying property to distinguish EXALATED JIRA event from other IssueRelatedEvent.java.lang.String


Example

In the example of JIRA A to B sync:

on JIRA A an exalated event's params would look as follows:

Parameter KeyParameter Value

LOCAL_ISSUE_ID

10000L

LOCAL_ISSUE_URN

"A-1"
REMOTE_ISSUE_ID20000L
REMOTE_ISSUE_URN"B-1"
RELATION_NAMEAtoB
INSTANCE_NAMEB
INSTANCE_URLhttps://b.com
EXALATE_JIRA_EVENT_TYPE"EXALATED"


on JIRA B an exalated event's params would look as follows:


Parameter KeyParameter Value

LOCAL_ISSUE_ID

20000L

LOCAL_ISSUE_URN

"B-1"
REMOTE_ISSUE_ID10000L
REMOTE_ISSUE_URN"A-1"
RELATION_NAMEAtoB
INSTANCE_NAMEA
INSTANCE_URLhttps://a.com
EXALATE_JIRA_EVENT_TYPE"EXALATED"


Other events

Other events are also declared in the interface but not yet implemented

  • Unexalated
  • Deleted
  • Updated

See also

You can learn more about handling EXALATED issue event