It's all about the answers!

Ask a question

Changing a Story Work Item State when child test defects are still open - control of

Adrian Daniels (6312120) | asked Nov 02 '12, 6:42 a.m.

I am just starting to implement the Rational HP ALM adaptor and have come across a request that maybe someone could help with !

Using the RTC Scrum template I have a sprint plan with stories on them. I use the HP ALM adaptor to link those stories to HP ALM Test Cases using the "Tested By Test Case" link.

I then start my testing and find a bug and raise that as a defect in HP ALM. I can then use the RTC Dashboard widget to observe and manage my HP ALM defects - all good.

Now as I start to complete my work the stories start to get marked as done - but I do not want to allow those stories to transition to Done if there are HP ALM defects associated with them - because in the Agile sense I cannot be Done.

Looking in RTC there is a hook on the save action for "All Children Resolved" - has any body implemented or looked at implementing one where it checks to see if OSCL Linked Test Cases have Defects associated with them and what their state is ?

Long shot I know but I think will be essential and these integrations get used.


Ralph Schoon commented Nov 27 '12, 3:14 a.m. | edited Nov 27 '12, 3:14 a.m.

Adrian, in addition to Filip,

please check here: that also links to the RTC Extensions workshop and to the list opf operation ID's .
There are several additional posts that you might find useful, including about the API for linking that you will need to do your testing.

One answer

permanent link
Filip Wieladek (30413) | answered Nov 27 '12, 2:58 a.m.
Unfortunately, Rational Team Concert does not offer such a pre condition out of the box.

You can however implement a plugin which will perform exactly the test you want and is executed on every work item  save. This is done by using the extension point.

Please refer to for a detailed tutorial.  

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.