how to fetch/pull/extract data from dashboard widgets of RTC.
I have a widget that contain a list of defect work items and there is a count present on widgets i.e how many defect work items are in the given widgets .I want to know how to pull that count value from widgets and have some calculus on it.
|
One answer
Hello there Krunal,
Comments 1
Jonas Studer
commented Mar 21 '17, 9:48 a.m.
Depends how you can access the Widget.
Krunal Gaoli
commented Mar 22 '17, 1:56 a.m.
Hi Jonas,
I would like to describe you my use case for same.
Case:1
I want to calculate Defect Density for my Project. we are going to calculate Defect Density using below formula:
i. DD=Number of Defects/ Kilo Lines of Code.
ii.DD=Number of Defects/No of test cases.
Case:2
I want to show the calculated value in below format
i. If possible in the form of Report.
ii. In the form of Widgets on dashboard.
Challenges are:
1. How to fetch live number of defects count data
2. How to show the calculated DD on Dashboard.
Best Regards.
Krunal
Jonas Studer
commented Mar 22 '17, 3:07 a.m.
Hy Krunal,
1
Jonas Studer
commented Mar 22 '17, 3:18 a.m.
Maybe you do wonder how could I access a query and its data?
Jonas Studer
commented Mar 22 '17, 3:19 a.m.
Logic
Jonas Studer
commented Mar 22 '17, 3:19 a.m.
/*Usage*/
Krunal Gaoli
commented Mar 22 '17, 4:00 p.m.
Thanks Jonas,
1.
I am planning to store the value of Kilo Lines of Codes in Customized Work Item.
2.
Regarding number of defects in a system, we can achieve this using query(Defect list ) and Dashboard widgets (on upper right side its shows number of defects) I want to pull that count (number of defects)
into my WI attribute and have some calculus on it.
I think REST(XHR - Get) will be helpful for me.
If you have any suggestion on it, will be admirable.
Thanks a lot.
Krunal
krunalgaoli@gmail.com
showing 5 of 7
show 2 more comments
|
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.
Comments
Thanks Jonas,