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

how to set status for workitem through CLI?

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

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

0 votes


Accepted answer

Permanent link
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

1 vote

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


One other answer

Permanent link
There is no CLI for any workitem operations. You could use OSLC api's to achieve this functionality.

2 votes

Comments

thanks shashikant. i will check it..

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
× 12,013

Question asked: Jun 02 '14, 5:24 a.m.

Question was seen: 4,209 times

Last updated: Jun 04 '14, 1:56 a.m.

Confirmation Cancel Confirm