VSTS Chart Query by Parent/Feature - charts

I'm looking to create a nice dashboard in VSTS with a set of relevant charts for my collegues so they can keep track of things.
We have a project for keeping track of it operations tasks. In this project we've created different Features for different departments of the company.
Is there a way to filter the user stories by parent/feature so that I can make different charts for different departments? I've managed to create a "Work items and direct links" query that actually only outputs the User stories in one feature, but such queries can not be used in charts unfortunately.
Other workarounds would be acceptable too.

There is a Work Item Visualization extension that you can check whether it meets your requirement (Can highlight specified work items).
Another way is that you can custom a dashboard widget or other extension to display the result: Add a dashboard widget.
There are many extension samples that may benefit you: vsts-extension-samples

Related

Azure DevOps dashboard configurations

we are an operational support team and we support 3 different Salesforce systems and 1 amazon connect system. i need to create dashboard for reporting bugs, PBIs in a sprint to report velocity, throughput and display the number of work items according to state. this needs to be broken down into 3 different salesforce systems and amazon connect. we have a tag for amazon connect incidents and 1 tag for all salesforce incidents. im new to ADO, any advise is appreciated
I am afraid there's no built-in widget that can meet all of your requirements. But you can use several widgets to track them.
There is a widget called Velocity in Dashboards that you can use to track a team's capacity to deliver work sprint after sprint. You can select a specific work item type that you want to track. Please note that it tracks the velocity for a single team, not multiple teams.
You can refer to the official link for more details.
But the Velocity widget can't filter the work items by tags or area path. In addition, you could create a new widget called Chart for work items to track work items by tags. It adds a tile to display a progress or trend chart that builds off a shared work item query. You could refer to this doc for more details.
So, firstly, you need to create a query under shared folder.
For example, I want to track Bug with the tag: "tag". I can create a query using the filters like:
Work item types=Bug
Tags Contains tag
Please remember to save the query under Shared Queries folder.
You could refer to the official doc to create a query.
After creating a shared query, you can choose the query in the widget. And choose State in Group by column. The chart will show the number the specific work item with the tag according to state.

Can Azure DevOps Projects be customized?

I would like to add some custom fields to a Azure DevOps Project.
By default, there are only two fields available: Name and Description.
However, I would like to add additional information to the project like internal ProjectNo, OrderNo, OfferNo, Offer Date and so on.
Is there a way to do this?
As far as I'm aware there isn't any way to custom this aspect currently. You could always add it as a suggestion here; https://developercommunity.visualstudio.com/spaces/21/index.html.
Alternatively, depending on what you are looking to accomplish and how you want to use these new fields, could you make these 'projects' Epics (or create another Work Item type) under a 'global project'? If so you can easily customise work items to include these fields.

VSTS - Can I get different features to show different bugs?

Afternoon,
I was looking for some help in relation to VSTS.
Is there any way to have a dashboard widget that shows bugs but only shows them for certain features. (Please see picture 1]
We are looking to see.
FRD001 bugs - New and closed
FRD002 bugs - New and closed
etc etc
image here
Since get bugs based on different feature is actually query by Tree of work items, while charting in dashboard is not support the tree queries.
But there are two work around for your situation:
Work around 1: Add a query results widget in your dashboard
If it’s also ok for you to show the bugs based on different features as below list, you can add a query results widget in your dashboard. Detail steps as below:
Add a new query as below to list bugs based on different features.
Drag the query you added in step1 under the shared queries (As below example drag the New Query 1 under Current Sprint).
In your dash board, add Query Results widget and select the query you added for the widget configuration.
Now bugs will be showed based on different features.
Work around 2: show bugs for different features separately
If you only want to show the bugs by chart, you should add queries of bugs for different features separately, and then add charts of the bugs in different features to dashboard separately.

use one visualization with multiple filters

Let's say I have a visualization that is displaying production line output over time. There are 6 production lines and I only want to display one production line on the visualization at a time. I can add a Production Line filter to accommodate this.
I want to create a dashboard view for each production line. So I want to create 6 dashboard views each with the same visualization filtered for a different value. However, I do not know how to do this without creating a copy of the visualization and dictating the exact Production Line filter.
Reasons for doing this:
I want to publish the specific dashboards and be able to embed the view into a SharePoint site (that is Production Line specific) and not require the user to filter the view each time
If I make a change to visualization, I want it to be transferred to all dashboard views for all Production Lines and do not want to make the same change to 6 visualizations.
Is this possible?
You can't do it with a dashboard. Try doing it with stories though. Create one story point for each production line. You can drop a single copy of your viz onto multiple story points, each with filters independent of each other, and any changes to the worksheet will be reflected in all six story points.
Yes it is possible. You could use a story as Sam M says, with 6 views of your dashboard each with a different filter setting,
Another choice that works in the embedded viz use case is to create a single dashboard, and apply a filter to all the worksheets on that dashboard. When using Tableau Server, you can supply the filter value as a query parameter in the URL (see the documentation)
After you test it out and are happy with the result, you can remove the filter control from the dashboard so it is no longer visible. You can still control the filter setting via the URL (or via the JavaScript API)
This allows you to adjust the viz that users see in your embedded view without making them manually select the filter setting, and also without creating six nearly identical dashboards.

IBM create automatically children work items

I work in IBM RTC (Rational Team Concert); the Project Area I own is built on the IBM Formal Project Management Process Template.
I’m looking for a mean to get work items created programmatically;
I do want when I create a Change Request work item, to allow the selection of different teams and from this attribute(s), create automatically children work items Task directly assigned to the right team/member.
How would you recommend to do so?
Although it is not a direct answer to your issue, but I guess it would help. It's more like a workaround more than a solution to your requirement.
The work around is divided into two steps:
Create a work item template from a CR with all its sub tasks included in the work item template.
Create a CR using the previously created template programmatically.
Note: This means that you'll need to create a work item template for each team.