How do you create a View that displays 2 Work Items? When I try to create a View with 2 filters using the (Work Item(s)), the View is empty.
Hey there, @inquisitor. I’m sure your job around here will be nothing but making my life enjoyable and care-free!
To answer your question, I’m not entirely sure what you’re asking. If what you mean is that you want a view that shows literally those work items, follow these steps:
- click the View menu
- select New Work Items View
- give your new view a Name
- click the add filter button (the icon is a funnel)
- in the combo box that says Assignments, click and change to Work Item (Select)
- in the combo box that says Equal To (=), click and change to Is Element In
- in the combo box that displays the names of your work items, select the first one
- click the add element button (the icon is a funnel with three dots)
- in the combo box that displays the names of your work items, select the second one
- click the add element button (the icon is a funnel with three dots)
- click the OK button
Quick Views make this task even easier. To use that feature, follow these steps:
- select a work items view that contains the two work items for which you want to make a specific view
- select your first work item from the list
- hold down the control key on your keyboard and click your second work item from the list
- right-click on either work item selected
- select Quick View
- select Work Items
If you meant that you want to see time slices only for two particular work items, the above procedures are the same, just in creating a time slices view instead of a work items view:
- click the View menu
- select New Time Slices View
- give your new view a Name
- click the add filter button (the icon is a funnel)
- in the combo box that says Assignment (Select), click and change to Work Item (Select)
- in the combo box that says Equal To (=), click and change to Is Element In
- in the combo box that displays the names of your work items, select the first one
- click the add element button (the icon is a funnel with three dots)
- in the combo box that displays the names of your work items, select the second one
- click the add element button (the icon is a funnel with three dots)
- click the OK button
Or to use Quick Views for a time slices view:
- select a work items view that contains the two work items for which you want to make a specific view
- select your first work item from the list
- hold down the control key on your keyboard and click your second work item from the list
- right-click on either work item selected
- select Quick View
- select Time Slices
I hope that helps, but if not, please feel free to reply and give me a bit more details.