In my organization we need to configure work items to require the field callled parent, also I want to know if it´s possible send a warning for all the work items previously created to be fixed by the assigned people.
I expect when someone will try to create a work item would be necessary add a parent item to complete the creation and I hope update the previously work items quickly or in an automation way.
Related
I am trying to make a cart that checks if the right item have been placed inside. I dont know how i would build this the best way. The way i would build this is by making the cart check for gameobjects names and then check if its the right one.
The result of doing it the way i would have done it, Is alot of werid names and also making it hard to add more items due to it almost being fully hardcoded.
First i thougt of using tags but i already use them for my pickup system and since you cant have more then one for some reason i cant.
You can try storing the products in a List. Each product would (inherit maybe) from the a Product.cs and each time you add one product in the cart, update the List.
Also you can check if is the right one before calling the cartList.Add() based on a string field(or int maybe?) in the Product.cs.
You can also store all the Product.cs in the Start method, either in a List or a dictionary, and check if it’s the right one before adding to cartList.
Sorry for the vague answer, I fast-typed on my phone. I hope this helps.
I'm looking to migrate a project from one org to another in Azure DevOps. We've ended up with two or three orgs, and this project that I'm looking to move has all sorts of weird and wonderful work items created and custom fields added. What I'm looking to do is move the project and then see if I can persuade the powers that be that certain things can be dropped but I have an immediate need to move as-is so that reporting and other work isn't impacted.
I have tried to get this to work with the migration tools (and tried to follow the videos) but have hit a dead-end. I think there are two issues potentially. One being the ReflectedWorkItemId. It says that it's not found in User Stories but I'm not sure how to resolve this? Do I go into user stories and add a field called 'ReflectedWorkItemId' and populate it with the work item number and/or add the same field in the destination org process?
It also mentions in the info that it can't find one of the Work Item Types - Processes. There are a few other custom work item types that have been created too but I assume it's given up on the first one. Do I have to create all of the work item types and the custom fields for each work item type in the destination org? Or am I getting the wrong end of the stick with this?
To provide sync as well as migration it is important that the tools knows which items have already been migrated. This is the purpose of the ReflectedWorkItemId field.
The field is not required in either case, however... if you don't have
the field then the system cant be re-run as it will re-copy all
completed work items. If you add the field to the target then it will
only copy those items it cant find. If you add the field to the source
(yes it needs to be the same refname), and set UpdateSoureReflectedId
to true then you can also filter the source, using a query and limit
what you load.
The former prevents duplicates, and the latter allows you to filter
the data load...
This is mentioned in this document. Here is a similar issue you can refer to.
TF201077 that usually happens when the target Project does not have a work item of that name. You can refer to this issue on github for help.
I need to make Drag and Drop list with angular material.
This is ok when I have one list, but now I need to have one multiple lists.
For example, I have one drag list with user roles (admin, user, view), and I need to have multiple users drop place, where I can drag&drop user roles. But, roles in DRAG list is always visible.
Here is an example of what I want, but I need help on how to make multiple drop list, depending on how many users I get from API and all this list need to get data from sam DRAG list, and also I need to have options to remove users role. Of course, on submit I need to send all this data to server
https://stackblitz.com/edit/angular-material-drag-copy-jervpt
EDIT:
with the help of #Campanita Belen I get to drag roles from one place to multiple drop zone.
But still don't find a solution on how to remove the added role, and how to collect data separately for every user tp JSON.
So it's actually very simple, in the drop event i'm pushing the item that just got removed from the list, also checking that i'm not adding it to the same list, leaving you the link with the code!
Hope this helps!!
https://stackblitz.com/edit/angular-f9kjw6
Also check the documentation of the drag & drop...
https://material.angular.io/cdk/drag-drop/api
I am working through creating a custom process in Azure DevOps and was curious if field values from parent can be shared with child items.
Here is an example:
Create field 'Custom Field 9' on Epic work type
Create the same field 'Custom Field 9' on Product Backlog Item work type
Create an epic and fill in the value of 'Custom Field 9'
Create a child Product Backlog Item, 'Custom Field 9' is then inherited to the backlog items field.
What I've tried so far is to use a rule on either Epic or Product Backlog Item, however, I do not believe the rules can apply to creation of children processes.
One other option I'm going to try later today is a Flow that detects when a child work item is created and perform it automatically. I'd like to try to keep this contained to Azure DevOps if possible.
Edit: Thought it helpful to mention that we are using the hosted solution of DevOps and nothing on premise.
Sorry to say that as default, there does not such a work item features with "out of the box". But you can use another tool to achieve this.
Like you said, Microsoft Flow, there does not such feature supported while connect with Azure Devops.
But, in addiiton, I think you can do this with writing some custom scripts. And then configure Web hook to trigger this custom events.
Also, here has another tool named TFS Aggregator (Web Service) to achieve what you want. You can set and configure apply certain rules (such as copying fields from a parent item to a child item). And it will trigger after a work item is created or saved.
I know this is very inconvenient, here has an same feature suggest which raised by others. They has the same demand with you. You can vote and comment for this suggestion. When there are enough communities vote and add comments for this feedback, the product team member will take this feedback seriously.
I needed this feature as well, but in it's absence I have got it to work (relatively easily) with an Azure Logic App (for anyone also using Azure)
Trigger
When a work item is created
Then
Get work item details using "Parent" as the work item ID to search for
Finally
Update the new work item with any field from the parent you require
We're currently using Azure DevOps to manage work items (user stories, task , etc.). I'd like enable an event/trigger when I close the user story, the child task-status are also closed. Is this possible?
I saw within
User Story State Change to Update Work Items
Generally, we would like convert the parent work item state based on the linked child work item state, not the other way around.
Converting the child work item state based on the linked parent work item state may cause some unsafe issue. For example, if we have one child work item that is not completed, then we accidentally closed the parent work item. In this case, the incomplete child work item will also be closed incorrectly.
To resolve auto change parent states, there is a free solution on the marketplace available: TFS Aggregator, For VSTS, you need to use Web Hook to complete it. Please refer to this : https://github.com/tfsaggregator/tfsaggregator-webhooks.
Besides, if auto change the linked child work item states is your final requirement, You can use the Rest API to invoke state changes. You could check the post and the post for some more details.
Hope this helps.