Note
We've packed up and moved from Confluence to Discourse to bring you a better, more interactive space. Out of courtesy we didn't migrate your user account so - you will have to signup again
The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
Env: JIRA cloud next-gen board, "Local synchronization"
In the Outgoing script, we can use findAll to select out what we want.
But sometimes the filter condition is not that simple, we have to do the filter in the "Incoming sync" script.
Use case:
We have 2 boards, "INT" for Internal and "EXT" for External.
Before we sync a ticket from INT to EXT, we want to make sure that all existing comments won't be synced.
So my code is like,
It turns all historical comments into "[HISTORY]" so that EXT users won't see the content.
But actually I don't want those historical comments to show up in EXT at all. I want to do something like "skip" or "continue", just exclude those special ones.
I tried set comment.body to "" (empty string) or null, it doesn't work.
What should we do?
Best regards,
Henry