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
Hi.
We're using Exalate to synchronise issues across our cloud based instances of Jira and GitHub.
Is it possible to set the value of an issue variable field (i.e. input side) from within the outgoing sync processor during sychronisation? That is to say, update a source-side field during the course of a source-side initiated sync?
I've attempted this within one of our of outgoing scripts and whilst it doesn't lead to an error, or affect synchronisation, neither does the source side field get updated. I'm left wondering whether this simply isn't possible or if there's a particular way of doing it other than a simple assignment.
For example:
// **outgoing sync processor script**
// usual mapping of source to destination(replica) fields in an outgoing script
replica.description = issue.description
replica.labels = issue.labels
replica.comments = issue.comments
// but in addition, attempt to update a field of the source issue during the same outgoing process
issue.customFields."CF Name" = <insert appropriate value for custom field>
This question is related to one previously asked here but in which the matter of whether this action is fundamentally possible or not, rather than being the best approach to that particular use-case, didn't get answered (imho).
Update local field when local issue execute sync
Thanks,
Glenn