It's all about the answers!

Ask a question

How to get a total no. of artifact in a module through RPE Report


Rima Kumari (1717) | asked Jan 23 '20, 7:01 a.m.
Hi ALL,

I am trying to create a total no. of artifact in a module and no of artifact based on attribute value in a module through RPE Report.
Please help me?

Accepted answer


permanent link
Subramanya Prasad Pilar (4.6k15) | answered Jan 23 '20, 9:21 a.m.
Hi Rima,
You can do this using JavaScript in RPE. Use a internal variable (_count with default value=0) and increment it within the query.
_count=_count*1+1;
At the end, you can print the value of _count. You can also increment the variable with additional condition based on attribute value.
Please refer the sample template inside %rpe_home%\templates\RTC that uses such script to print the number of resolved work items and total work items.
Rima Kumari selected this answer as the correct answer

Your answer


Register or 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.