EOL NOTE: We are moving Exalate for HP QC/ALM into basic maintenance mode. This transition period will last until June 2024, after which support will be halted completely. For more information, please see https://exalate.com/blog/end-of-support-hp/.
In this article, we describe how to sync status between instances.
You need to configure the mapping between statuses on both sides. The example below works for all supported issue tracking platforms.
Send local status to the remote side:
replica.status = issue.status
Set the local status based on the received status value from the remote side:
def statusMap = [ // "remote status name": "local status name" "To Do" : "New", "In Progress" : "Working on it", "Done" : "Canceled" ] def remoteStatusName = replica.status.name issue.setStatus(statusMap[remoteStatusName] ?: remoteStatusName)
Alternatively, you can set the default local status using the getStatus node helper method.
Have more questions? Ask the community