What determines what shows up in Azure Devops backlog? - tfs

I am using Azure DevOps Server Version Dev17.M153.3 - self-hosted Azure DevOps.
I have tried but can't figure out what are the rules for what items show up in the backlog. The backlog configuration is to see only User Stories.
Let's say my Team is "DevOps." I have drag/dropped several User Stories and child Tasks onto "DevOps Team Backlog" and then I go to the Backlog sprint and they are not there, but 2 random tasks are, that have
Area: DevOps, Iteration: DevOps\Some Product\Some Sprint
I can go find the items I drag/dropped onto the backlog under Work Items, and they have
Area: DevOps, Iteration: DevOps
If I use the "Create Query" function on the backlog, the query is
Work Item Type: User Story, Area: DevOps, Iteration: DevOps, State: New,Active,Resolved
and many items show up, which is what I expect to see in the Backlog view.
What are the rules to determine what shows up in my team's backlog view?

You use backlogs (user stories) to define your future work.
You plan your next iteration by assign user stories to that iteration in the backlog
You create child tasks in the sprint backlog
Additional links:
Organize your backlog, map child work items to parents
Assign backlog items to a sprint
Add tasks to backlog items

Related

How to create a Dashboard specific to user stories in TFS -Azure Devops

How to create a Dashboard specific to user stories in TFS -Azure Devops - I am looking for graphical representation of User stories against the entire sprint cycle - Like i have 11 sprints and 140 user stories so i wanted to see User stories fall under current sprint and completed sprints along with there states and sprints which are not started will show blank
We could create a query to list all user stories->save it as shared query->click the tab Chart->click the button new Chart and select Stacked bar->configure the chart and then add the chart to Dashboard.
Result:

How to get done/completed backlog items from Azure Dev Ops rest api?

'Backlogs - Get Backlog Level Work Items' rest api seems to only return "open" work items, excluding done/completed.
https://learn.microsoft.com/en-us/rest/api/azure/devops/work/backlogs/get%20backlog%20level%20work%20items?view=azure-devops-rest-5.0
I don't see any additional parameter mentioned in the docs to return everything, so how to get completed items for a project/team/backlog combination?
How to get done/completed backlog items from Azure Dev Ops rest api?
You could not get done/completed backlog items. That because a product backlog represents your project plan, the roadmap for what your team plans to deliver. So, the done/completed backlog items will not be list in the Azure DevOps. If you change the state of any work item to closed on the backlog, backlog will remove that work item from backlog:
To get those done/completed work items, you could WIQL part of the API.
Check this thread for some more details.
Hope this helps.

Make linked test cases visible in current sprint board in TFS 2017

On the backlog board in a scrum project in TFS 2017, I can see the number of test cases linked to a backlog item. I can also see the status of the tests in some instances. I would like to see something similar in my current sprint. How can I get visibility to test cases linked to a product backlog item in the current sprint without clicking into a backlog item?
Show the tests/test cases under Sprint Board is not supported. There is a user voice here submitted to request for this feature, you can go and vote it up to achieve it in future.
As a workaround for now, you can create a task and link it to test case.
You can reference this similar thread: Visual Studio Team Services - Assigned Test Cases on Sprint Board

EPIC created in TFS doesn't appear in PBI / sprints

I'm using TFS (web) and using the scrum template. On the main page/dashboard, under Work->Create New->Epic. I have created an Epic. This epic is associated to Sprint 5 in my project. I've also created sub story associated with that epic. However, I'm unable to see that story, or the epic under sprint 5.
When I query the epic, TFS displays it, so I know for sure that exists. But it doesn't list in Sprint.
Please help.
Typically Epics don't belong to Sprints, they are higher level. When you are in the sprint planning screen or the sprint taskboard view, it will show requirements (ie user stories, use cases, pbi's, bugs, defects) and tasks.
You can always create a WI query to return all PBI's and Epics assigned to a Sprint if you want.

Is it possible to stack order PBIs for a sprint in TFS?

Is it possible to stack order the PBIs in the sprint view of TFS. I've been able to do this by modifying order fields in excel but would like the same functionality as the product backlog.
Is there a configuration file I need to modify?
There currently is no way to do this from the Sprint board. It uses the same order as the Product Backlog though. This makes sense from a Scrum perspective, since the Product Owner defines the order of the backlog and his domain is the Product Backlog.

Resources