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.

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


shruti gudagur selected this answer as the correct answer

Comments
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

Shruti


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.

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

One other answer



permanent link
Shashikant Padur (4.2k27) | answered Jun 02 '14, 5:28 a.m.
JAZZ DEVELOPER
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.

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