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

How do I return the number of RTC Work Item children with an attribute value to Focal Point?

I have an integration between Focal Point and Rational Team Concert (RTC).  I can successfully create an Integration link, but I need an attribute to return the number of RTC Work Item children matching a given attribute (Flags attribute is set to Blocked).

 

I am open to suggestions, but thought it would be easier to run a Focal Point XPathValueFetcher to the RTC linked form to search its children.

 

I referenced the XPathValueFetcher business rule on IBM site

http://publib.boulder.ibm.com/infocenter/rfphelp/v6r5/index.jsp?topic=%2Fcom.ibm.rational.fp.help.doc%2Ftopics%2Fc_xpathvalue_businessrule.html  and other notes to create the following expression

 

=XPathValueFetcher('RTC Integration Link Attribute',"/rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.children/?oslc_cm.properties=rtc_cm%3Aflags%7B*%7D","//rtc_cm:flags/dc:children[text()]","Flags","run_at=1")

 

It returns the linked RTC work item and its summary, but not the number of children with the Flag attribute. 

 

The Focal Point attribute is type:  text

Any thoughts?  Should I do some kind of summary in RTC and set it to an RTC attribute first?  (If so, I need help on that approach as well.)

0 votes


Be the first one to answer this question!

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,938
× 3
× 3

Question asked: Jan 22 '13, 6:04 p.m.

Question was seen: 4,524 times

Last updated: Jan 22 '13, 6:04 p.m.

Related questions
Confirmation Cancel Confirm