Welcome to the Jazz Community Forum
How to Sort RQM Category in RPE Template ?

Accepted answer

Yes, you cannot sort on category/value (which is child attribute). You can store the testcase data (that you want to print) in an array along with feed/entry/content/testcase/category/value in an array. Perform sort on the array and then print the elements from the array. A sample RPE template will look like this:



Comments


_i*1 < _tcdata.length is "Do while condition" for the Iteration element. Please check if the data is stored in the array first. You can refer the sample template here. You should use https://<server>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>testcase?abbreviate=false as URI for Testcase Feed data source.

One other answer

9 |
Payment page |
|
M2 |
6 |
Login Page |
|
|
6 |
Login Page |
|
M1 |
9 |
Payment page |
|
|
8 |
Profile Page |
|
|
7 |
Home page |
|
M1 |
8 |
Profile Page |
|
M2 |
7 |
Home page |
|
|
7 |
Home page |
TCB10001 |
|
6 |
Login Page |
TCB10002 |
|
8 |
Profile Page |
TCB10003 |
|
9 |
Payment page |
TCB10004 |
|
Comments

I have modified the original answer so as not to include duplicate testcases.

