API to close the defect automatically in IBM CLM tool
Hi, I am working on RTC Jenkins integration.
1. Whenever Jenkins job gets failed, it is creating a defect in CLM tool.-- This task got completed using below API
2. Whenever Jenkins job gets succeeded, the earlier defect should be closed. Looking for some help here.
Thanks in advance.
One answer
You can use the same API. However, you can not directly set the workflow state. You have to perform the necessary work flow state changes using the workflow actions.
Comments
Here are examples using another API, the RTC SDK and Plain Java Client libraries
This is server API, but should be mostly identical in the client API.
Thank you Ralph for your response. You said "You have to perform the necessary work flow state changes using the workflow actions." Does it mean we need some manual intervention for example: "Add approver", "change state from Pending to approved", etc?
Can't we achieve the aim without using any manual intervention?
I did not say anything about a manual process. You can apply workflow actions using API, did you care to look into the links?