how to set status for workitem through CLI?
Accepted answer
Hi Shruti,
Im not sure what CLI meant..., but using java client api we can set status of workitem. Kindly go through following link.
https://jazz.net/forum/questions/135697/how-to-set-wi-status-during-creation-in-plain-java-client
steps
1. Get a working copy of workitem.
2. Set status using following api.
workitem.setState2(String statename);
3. Save the workitem.
workingCopy.save(monitor);
Forgive me if this is not what you are looking for..
Im not sure what CLI meant..., but using java client api we can set status of workitem. Kindly go through following link.
https://jazz.net/forum/questions/135697/how-to-set-wi-status-during-creation-in-plain-java-client
steps
1. Get a working copy of workitem.
2. Set status using following api.
workitem.setState2(String statename);
3. Save the workitem.
workingCopy.save(monitor);
Forgive me if this is not what you are looking for..
Comments
thanks Ajay. this is what i was looking for. i will check it. i am very new to RTC.
Hello Ajay,
Can you tellĀ me how to make use of these API's?
i am using Orion 6.0
Thanks & Regards
Shruti
Hi Shruti,
Please have a look at following link for information on how to use public apis provided by IBM for your development activities.
https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/
(thanks to Mr. Ralph Schoon.)
You'll get all the info you need or atleast a way to get them.
Regards,
Ajay