How can a limited set of issue labels be synced between two JIRA's

francis
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
December 20, 2016

Today we got this challenge

 

  • two JIRA's (on premise)
  • Issues are being synced between the two JIRA's using exalate
  • Only labels which start with 'pub_' should be shared, all the rest kept internal

 

 

 

1 answer

4 votes
francis
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
December 20, 2016

It is pretty straightforward to specify what information can be sent over using exalate.  It has the concept of a data filter where you can detail out what labels can be sent.

This data filter is actually a groovy script which is used to setup the message that will be sent over to 'the other side'  This groovy script can have some content like

 

...

// a label contains one field 'label'
replica.labels = issue.labels.collect { it.label.findAll("pub_") }

...

 

 

Check our documentation site for more details

How to sync issue labels

 

 

Suggest an answer

Log in or Sign up to answer