Chart of Item Types in VSTS - tfs

I'm trying to convert a small team to the benefits of using TFS with Visual Studio Online. I've created a custom process and custom work item type. I've also adde a few 'custom' states for items (eg: 'In Test').
Is it possible to create a query/chart similar to below, with a count of each item type - as below?

Create a new query to retrieve necessary work items
Go to your team project Home page (e.g. Home=>Overview)
Click Edit Dashboard=>Add Widget
Select Char for Work Items=>Add
Click Configure to configure this widget
Select corresponding Query
Select Chart type (e.g. Column)
Select State in Group by list
Click Save

Yes, VSTS supports dashboards that you can easily add widgets to. You can add dashboards on the Home tab by clicking + New in the upper right, and edit with the checkmark in the lower right. Have a look at the Chart for Work Items widget. Given a query of work items, it supports various chart visualization that you can configure and show.

Related

Can you add a drop-down box for BoardColumn in TFS?

In TFS, is it possible to add a drop-down box to the work item form that allows you to select/change the System.BoardColumn? Or is it only possible to change a board column via drag/drop on the board itself? This is in on premise TFS 2015
Use case: Sometimes we have an item open during a meeting to discuss it in depth. It would be easier to select a new column while the item is open for edit already than saving the item, then going back to the board to move it.
System.BoardColumn is a read-only field, you are not able to add a drop-down box for this field.
A workaround is mapping the State to the BoardColumn, and change the State field instead of BoardColumn field.

Is there any custom option to lock work item for specific iteration?

I'm trying to lock/deny the option to open a new work item with specific iterations.
I tried to do it with a custom field with same value of iteration id and
<PROHIBITEDVALUES> rule.
Then I understood that its not possible because iteration-id field load only after I press the "save" button and its too late.
There any other ideas how to do it?
There is not any build-in option to hide older/specific iterations in the Work Item field.
However, you can set the security for "Edit work items in this node" to deny and they will not be able to save work items with the area or iteration selected.
Besides you could also hide the iteration node(s):
Open Project settings>Project configuration
Select the Iteration Tab
Select the iteration that you want to hide
Click on Security > Add a "Deny View" permissions for the users that
you want to hide the nodes from.
The user will not able to see the iteration in the sprint.
update:

DateTime of sprint backlog task status change to "Done"

Is there a field in TFS or any way to get the datetime value on which a sprint backlog task was changed to done?
I spotted an AuthorizedDate field but I'm not sure if it's out of the box or not.
Suggestions will be appreciated.
It is possible to get TFS to do this for you if your template isn't already set up to do so.
Start the TFS Process editor (Install TFS power tools if needed), connect to TFS and edit the WIT Task.
Create a new field called (For Example) CompletedDate with a suitable reference name (For example: StackOverFlow.Questions.TaskCompletedDate).
Set it to be of type DateTime.
Next go to the workflow tab and do the following for each of the transitions to the done state:
Right Click, select open details
Select the fields tab, click new.
Enter the reference name of the field you create above (StackOverFlow.Questions.TaskCompletedDate).
Select the Rules Tab and click new.
Select SERVERDEFAULT from the list of rules
On the dialog that appears, set the from field to clock.
Click OK, OK, OK to get back to the workflow.
Save the Work Item Definition.
See:
https://msdn.microsoft.com/en-us/library/ms194981.aspx
When your work item is set to done the closed date and closed by fields are set automatically.
These fields are part of all of the default templates.
Some of the older 2012 & 2013 templates did not include this for tasks and you would have to adds it', however you should use the out of the box provided fields and not create new ones. If you are reporting in this it's a nightmare if each work item type had its own way of doing things. Use the System.ClosedDate and System.ClosedBy field. You can copy the setup from the PBI or Bug work items..

How to control group breaks in ReportBuilder?

In Delphi, using Digital Metaphors' Report Builder, I'm creating a report that is grouped by a field (named "Section").
I would like the groups to be printed one after the other without breaks, unless another field (named "SectionType") has a certain value, in which case, the group must start on a new page.
I have tried to use the onGetBreakValue event with no success.
How can I achieve the desired behavior?
You need 2 groups on your report, first by "Section" then by "SectionType" under the Report -> Groups... (Ctrl+G) menu option in the report designer. There you can select the Start New Page for the "SectionType".

Adding a column to an Acumatica grid

What is the best way to add a column to a grid in Acumatica? I've looked at the documentation, and I can't seem to find a way to do it.
Thanks
It depends on the type of grid you are using. As an example, lets say you are going to add a CreatedDate column to the details grid of Journal Transactions screen.
You will need to switch to design mode and open up the Aspx Control Tree and select the PXGrid node, click Add, and select Add Column to Grid to open the Add Grid Column dialog.
Find the field you want to add (in this case CreatedDateTime). you can also create new cusomt field here by pressing Add. Pick the correct Column Editor type (like DateTimeEdit) and press OK
move the Column up and down using the left tree to put in position you want.
Validate and publish the project!
If you want to modify existing grid which was created by Acumatica you'll need following steps:
1. Add field in DB ( optional )
2. Add filed description in DAC extension
3. Add column to page in customization engine, or manually imitate behavior of customization engine

Resources