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

RQM API: Get executionworkitem using as filters testplan and testcase

I am working with RQM v4.0.4 and 4.0.6, and cannot migrate to upper versions.
I am trying to get executionworkitem related to a specific testplan and testcase. This because a testcase can be linked to more than one testplan.
I am using this filter schema:
<feedUrl>?fields=feed/entry/content/testplan[title='test plan title' or description!='test plan description']/*

taken from the RQMApi reference.
the filter i am using is:

<feedUrl> ?fields=feed/entry/content/executionworkitem/[testplan[@href='testplan_href'] and testcase[@href='testcase_href']/*

I think I can do this, because, from version 4.0 on, executionworkitem can be filtered with both testplan and testcase, according to the same reference:
  • /testcase/@href
  • /testphase/@href6
  • /testplan/@href6
What I get is a list of executionworkitems only related to the  testplan, as though the "and" operator was not in effect, w/o any property.
Would you please be so kind to tell me where am I wrong?
I really thank you in advance for any hint.
Ciao
Sandro


0 votes



One answer

Permanent link
Please note there is a typing error:

<feedurl> ?fields=feed/entry/content/executionworkitem[testplan[@href='testplan_href'] and testcase[@href='testcase_href']/*

sorry,
Sandr

0 votes

Your answer

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
× 12,020
× 332

Question asked: Nov 11 '14, 11:19 a.m.

Question was seen: 4,439 times

Last updated: Nov 11 '14, 11:22 a.m.

Confirmation Cancel Confirm