Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.


0 votes



One answer

Permanent link

 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.

1 vote

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? 

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,936
× 382
× 158

Question asked: Jul 07 '21, 2:53 a.m.

Question was seen: 1,703 times

Last updated: Jul 08 '21, 10:10 a.m.

Related questions
Confirmation Cancel Confirm