Custom Work Item Types don't show in any Board or Backlog? - azure-devops

We've created a new work item type called "Improvement", but found that it does not show in any board or backlog - only search. After some digging in settings, I found this:
Can you really not add new work item types and get them into your workflow along side the default types?

In this page, hover with the mouse on the work item level you want to include your custom item and click "Edit":
In the screen that opens you can add the custom work item.

Related

How to change the Form according to the item selected in the drop Down menu in Flutter

I have created I method which is showing a dialog and I called it with timer.run() method in order to show the dialog at the start of the screen automatically in which i have created a form (the code snippet is attached in the photos) and the form contains drop-down menu with two items(check and bank) now i want to make the UI as dynamic whenever the user selects the Bank option in the drop-down menu a new drop-down menu is displayed to him otherwise an empty container will be displayed to him.
Solutions I tried
created i variable which holds true if the item selected is bank otherwise false and used it as a condition to either show the 2nd drop-down or not.
Make the variable global but it also didn't worked.
created a function which i called with the variable to return either drop-down or empty container but it also didn't worked.
Created the bank selected variable in other class and access it with provider package but it also didn't worked for me.
The source code is also available at Github-Repo
Thanks all someone at linkedin helped me with the solution. which is
We have to wrap the AlertDialog with StatefulBuilder and have to call setState when option is selected then it will work.

Finish work item from "Work items" list in Azure DevOps

When I have the list view of work items which will show if I click "Work items", how do I change state of a work item or view comments? Work items seem to not be draggable. There seems to be no dropdown to use to change the state. The comments speech bubbles seems to not be clickable.
Menu:
View:
This is really a simple one. You should double click on a work item so that you will able see all the details in it. Along with the details you can view comments. On the top right corner you can see a drop down for state, through which you can change the state.
You have there different views. Boards is like a Kanban - you can there chanage a state by drag and drop to different columns. But you will not be able there to see comment wihtout going inside.
Sprints is kind iof similar but introduce context of sprint. So you have timeline with columns representing states for given timebox/sprint.
Use this view which works best for you, but try and check as this is the best way to learn it.

adding custom child items to feature cards

I have created some custom work item types and added them to the Requirement backlog area of the Backlog levels. We are using a customized Scrum template. Now what i would like to do it get them to show up on my feature card and be available as Add Custom Work Item Type. I would like something similiar to how on an card in the backlog items, the card with show the number of tasks and how many tasks have been completed, it will also show how many test have been added. Also if you click the button (3 dots) you have an option to Add Task and an option to Add Test. See images.
On the feature cards I only have the option to Add Backlog Item, is there a way to have my custom backlog item show on card and be available in the popup menu.
For now, only the default work item type for the requirement backlog level can be added through Feature board.
Such as the requirement backlog level contains the work item types: myPBI and Product Backlog Item (as below example). And if the myPBI is set as default work item type, then you can only add myBPI WIT through Feature board.
And I posted the user voice Enable to add all work item types at the same level through the parent work item type board which suggest this feature (enable to add both PBI and myPBI through Feature board as above example), you can vote and follow up.

how to use IViewActionDelegate?

i have added a menu item to the variablesview menu by extending the org.eclipse.ui.popupMenus
extension point and what im trying to do is that when someone right clicks a variable and clicks my menu item i would parse the variable's value to an Ip format.
i succeded in adding the menu item and responding to a click with the IViewActionDelegate interface, but when someone clicks on my menu item the information given by IAction event is'nt helping with knowing which Object occoured the event or what is the value of the variable.
my question is, if there is a way to locate the variable's value after clicking my menu item?
or is there another way of using the interface IViewActionDelegate that i dont know of, or i dont use it correctly?.
i have checked a lot in google about how to add a menu item and found good guide:
http://www.eclipse.org/articles/article.php?file=Article-action-contribution/index.html
but it does'nt solve my problem, i really need help on this subject.
thanks.

Programatically change icon for a eclipse RCP command

I have a menu drop down action in the coolbar. It has 3 sub items that form a radio group. I would like to change the icon shown in the coolbar when the user selects one of these options.
I've googled and seen that I should look at:
org.eclipse.ui.commands.ICommandService.refreshElements(String, Map)
and
org.eclipse.ui.commands.IElementUpdater
Its probably the right thing to look at exception its not enough information. One or two small code snippets will be excellent.
Thanks in advance.
Ok basically if you don't want to use a "custom" control the what to do it is to have your handler (handler that is linked to the specific command) implement IElementUpdater. When every the toolbar item gets shown or clicked on (i.e if the user selects on the the radio buttons) the method: updateElement(UIElement element, Map parameters) gets called.
The element has a setIcon() method and this is what i used to change the icon of the menu drop down action.
Every update to the Coolbar points to the specialization of the WorkbenchWindowControlContribution class.
This bug 186800 has some code example in it which can be of interest.