1
0
-1
1 answer
- 10-1
Please update your code to the following:
if(remoteKey){ boolean correct = false; def localWorkItem = httpClient.get("/_apis/wit/workitems/${remoteKey}?api-version=6.0", correct) //debug.error("${localWorkItem}") //if(localIssue == null) throw new com.exalate.api.exception.IssueTrackerException("Issue with key "+remoteKey+" was not found") workItem.id = localWorkItem?.id workItem.key = localWorkItem?.id return; }
The line workItem.key = localWorkItem?.id is required to complete the connection.
Thanks,
Ariel
Add your comment...
I click Exalate from ZD, it goes to in progress and then states not sync’ed. No errors, this is in our PROD sync.
This is the code I have: