Changing a Story Work Item State when child test defects are still open - control of
Hi,
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.
Cheers
Adrian
One answer
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 com.ibm.team.process.service.operationAdvisors extension point.
Please refer to https://jazz.net/library/article/495 for a detailed tutorial.
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Nov 27 '12, 3:14 a.m.Adrian, in addition to Filip,
please check here: http://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/ that also links to the RTC Extensions workshop https://jazz.net/library/article/1000 and to the list opf operation ID's https://jazz.net/wiki/bin/view/Main/CustomPreconditionsTable#operations .
There are several additional posts that you might find useful, including about the API for linking that you will need to do your testing.