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

How to add created work item into existing plan using java plain api in RTC

 Hi All,


I am creating plan using java plain api, but I want to add some created work items  into it using plain java API,
is it possible?

please give me suggestions on the same.

Thank You! 

0 votes



One answer

Permanent link

 Hi,


1. The RTC Agile Planning API to create plans is not supported as far as I know. It requires to use internal API.
2. Work Items do not exist in a plan. Work Items are shown by the plan. To show up in a plan they need to be in the scope of the plan, which means at least the filed against and planned for of the work item must match the owner and iteration selected in the plan.

0 votes

Comments

yes Ralph I have created plan using api , ref link-https://rsjazz.wordpress.com/2015/06/11/creating-plans-with-the-plain-java-client-api/


but suppose I need to add work item using Api is it possible using extending your code?

I am getting more and more frustrated lately, having the impression answers are not read and thought about. Why should I waste time with answering when the person asking does not waste time or energy in reading the answer?


Again, the same answer as above: 
1. https://rsjazz.wordpress.com/2015/06/11/creating-plans-with-the-plain-java-client-api/ explains, there is a huge warning icon, the API is using internal API.
2. Before you even touch any code, learn the fundamentals of RTC e.g. understand what a plan is - it is a work item query. Based on that knowledge understand how to manually create a work item that shows up in a plan. Then use the Work Item API to create work items with the required category (Filed Against) and iteration (Planned For). 

The key is here that there are different APIs for different things. 

thank you ralph for clarification again.

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
× 10,954

Question asked: Jan 29 '19, 8:32 a.m.

Question was seen: 1,943 times

Last updated: Jan 29 '19, 9:53 a.m.

Confirmation Cancel Confirm