RTC SDK - How to find all contributes to/tracks link type associated with a Feature.
Hello Community,
I am in the process of creating a plugin and I have run into some roadblocks.
I would like to figure out when I have a feature which Stories in the "Contributes to/ Tracks" link type are in the completed state.
If they are all in the complete state then I want to transition my feature to completion else I want to halt it.
Such plugin would be similar to the strict-group IBM plugin with the difference that it looks for "Contributes to /Tracks" links as opposed to parent/child links
Does anyone have any knowledge regarding achieving this?
Any help is greatly appreciated!
-Roberto
One answer
You can find pretty much all you would need here: https://rsjazz.wordpress.com/
Search for Follow Up Action or participant to see examples, search (field right up) for links to see the link API.
Note: Tracks/Contributes To is not process enabled. Creating such a relationship does not trigger the work item save operation.
See https://rsjazz.wordpress.com/2012/11/27/resolve-parent-if-all-children-are-resolved-participant/ for a similar case.
Comments
Hi Ralph,
I took a look at rsjazz but I cant find a specific example of how to grab the contributes to/tracks a Feature has.
Could you point me to such?
Thank you!
-Roberto
- Click the "Search" widget in the top right corner.
- Type "Tracks" and click on search
Brings up
Use the browser search (CTRL+S) to search for Tracks for some specifics on Tracks links.
See other posts e.g. search for "link api". All links are more or less similar the tracks Contributes To. The link type is com.ibm.team.workitem.common.model.WorkItemLinkTypes.TRACKS_WORK_ITEM
The work item command line has also code for this.