The error message you’re seeing, No such property: node for class: Script5, usually means there’s a typo or a reference to a variable or object that doesn’t exist in your sync script. This often happens if you try to use something like node instead of the correct helper or object name (like nodeHelper).
To sync the Jira Component field to GitHub PR labels, here’s the recommended approach:
Use an External Script for Components (Jira side):
Exalate provides an external script called Components.groovy for handling Jira components. You need to:
Make sure you are referencing the correct property (replica.components) and not using any undefined variables like node.
Check for Typos:
Double-check your sync rules for any references to node—it should likely be nodeHelper or another valid object.
If you follow the above steps and use the external script as described, you should be able to sync Jira Components to GitHub PR labels without running into the “No such property: node” error.