It's all about the answers!

Ask a question

Is possible to programmer the config a work items in RTC Eclipse Client 4.0.2?


Miguel Lanz (122) | asked Apr 10 '14, 2:32 p.m.
It can be programmed in JAVA a work items with the Rational Team Concert Eclipse Client 4.0.2, to automatically change the status workflow of a Work Item Parent to change the state of worflow Work Item Child.

2 answers



permanent link
Robert Carter (42927183) | answered Apr 10 '14, 2:39 p.m.
Miguel,

It is possible to create a follow-up action that could trigger the workflow actions of child items.  However, you have to consider some limits:

* The Work Items should be of the same type.
* The Work Items should have the same workflow.
* Might run into problems with other advisors and required fields on the child work items which may interfere.

Comments
Miguel Lanz commented Apr 10 '14, 3:25 p.m.

Robert thank you very much for your answer.

But I would like to know:

Is possible when one relates a child work item to one parent, the status automatically changes the parent element for example resolved when the child is settled?


Robert Carter commented Apr 10 '14, 3:32 p.m.

I believe the same would hold true from a Child Work Item to a Parent Work Item.  Just keep in mind the considerations I mentioned above.


Other Issue to consider:
* You would have to make sure ALL of the OTHER child records where in the resolved state as well.


Robert Carter commented Apr 10 '14, 4:04 p.m.

Here is some example code of what you are attempting:


Ralph's Blog has some good material examples:


permanent link
Millard Ellingsworth (2.5k12431) | answered Apr 10 '14, 3:38 p.m.
FORUM ADMINISTRATOR / JAZZ DEVELOPER
If you want to program against the RTC/Jazz API, I highly recommend @rschoon's blog. Here are a few posts to get you started: 
http://rsjazz.wordpress.com/2013/03/14/what-apis-are-available-for-rtc-and-what-can-you-extend/
http://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/
http://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/

Your answer


Register or to post your answer.