It's all about the answers!

Ask a question

Custom table inside workitem

Pankaj Sharma (401170) | asked Nov 20 '15, 6:00 a.m.
Hello Team,
I have a requirement to display list of workitems (html table) inside another workitem,
columns should be like (ID,Summary, Status, etc.)

The scenario is like, I want to populate all workitems (w2,w3,w4) that are associated with particular workitem(w1), and i have an attribute in w2,w3 & w4 to represent w1 inside them.

Please help

Accepted answer

permanent link
Ralph Schoon (63.2k33646) | answered Nov 20 '15, 6:55 a.m.
There is no built in way to do that, really.

Option 1: Create a Custom Editor Presentation which likely is complex and expensive.
Option 2: Create some kind of follow up action or calculated value provider and try to use a WIKI type attribute, where you basically generate the information. This has to be done in Java, as JavaScript does not allow to access other work items from the context of the work item they are running in. See for a starting point.
Ralph Schoon 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.