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..