It's all about the answers!

Ask a question

how to set status for workitem through CLI?

shruti gudagur (2811115) | asked Jun 02 '14, 5:24 a.m.

how do i set the workitem status in RTC through CLI?

like new, in progress, inavalid, complete and so on..

Accepted answer

permanent link
Ajay Mallikarjunaiah (148410) | answered Jun 02 '14, 6:04 a.m.
Hi Shruti,

 Im not sure what CLI meant..., but using java client api we can set status of workitem. Kindly go through following link.

1. Get a working copy of workitem.
2. Set status using following api.
    workitem.setState2(String statename);
3. Save the workitem.;

Forgive me if this is not what you are looking for..

shruti gudagur selected this answer as the correct answer

shruti gudagur commented Jun 02 '14, 6:36 a.m.

thanks Ajay. this is what i was looking for. i will check it. i am very new to RTC.

shruti gudagur commented Jun 04 '14, 12:27 a.m.

Hello Ajay,

Can you tellĀ  me how to make use of these API's?

i am using Orion 6.0

Thanks & Regards


Ajay Mallikarjunaiah commented Jun 04 '14, 1:56 a.m.

Hi Shruti,

Please have a look at following link for information on how to use public apis provided by IBM for your development activities.
(thanks to Mr. Ralph Schoon.)

You'll get all the info you need or atleast a way to get them.


One other answer

permanent link
Shashikant Padur (4.2k27) | answered Jun 02 '14, 5:28 a.m.
edited Jun 02 '14, 5:30 a.m.
There is no CLI for any workitem operations. You could use OSLC api's to achieve this functionality.

shruti gudagur commented Jun 02 '14, 6:34 a.m.

thanks shashikant. i will check it..

Your answer

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