VSTS Workitem Tracking History Architecture - azure-devops

I need to create a history solution for a custom application and I'am curious how VSTS has resolved this problem in the workitem tracking histroy. I want to create something similar. Does anyone has informations about this architecture or db structure or is there some public documentation about the solution?

You should use Reporting Work Item Revisions REST API and then analysis for these data.
Besides, if you want to analysis for a certain work item, you can refer the REST API List Revisions.
And for relate example code, you can refer below links separately:
Example project for consuming the VSTS WIT Reporting APIs
Work item tracking revisions sample

Related

Closed - Duplicate a customized work item to be rehused for others work items Azure DevOps

Enviroment:
Azure DevOps
Action required:
To duplicated a custom Work Item to be rehused for others that requires that exact same lyout
Detailed description:
For a new Team Project is required a very specific setup, that was not easy to anchieve and needs to be replicated across all the rest of Work Item types like User Stories, Tasks, Fetures and so on and it would consume to much time do it manually (we are system engineer so there is always a better way ;) ) so for that reason is required duplicate the Taylored work item
I am afraid there is not such a feature to duplicate a custom work item tpye in azure devops currently. You may have to manually duplicate the work item types.
You can click here to submit a feature request to microsoft development team. Hope they will consider implementing this feature in the feature sprint.

Fetch all metadata of Salesforce

I've been trying to implement a way to download all the changes made by a particular user in salesforce using PowerShell script & create a package The changes could be anything whether it can be added or modified, Apex classes, profiles, Account, etc based on the modified by the user, component ID, timestamp, etc. below is the URL that exposes the API. The URL Does not explain any way to do this by using a script.
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_listmetadata.htm
Does anyone know how I can implement this?
Regards,
Kramer
Salesforce orgs other than scratch orgs do not currently provide source tracking, which makes it possible to pinpoint user changes in metadata and extract only those changes. This is done by an SFDX/Metadata API client, like Salesforce DX or CumulusCI (disclaimer: I'm on the CumulusCI team).
I would not try to implement a Metadata API client in PowerShell; instead, harness one of the existing tools to do so.
Salesforce orgs other than scratch orgs don't provide source tracking at present. To identify user changes, you can either
Attempt to extract all metadata and diff it against your version control, which is considerably harder than it sounds and is implemented by a variety of commercial DevOps tools for Salesforce (GearSet, Copado, etc).
Have the user manually add components to a Change Set or Unmanaged Package, and use a Metadata API client as above to retrieve the contents of that package. (Little-known fact, a Change Set can be retrieved as a package!)
To emphasize: DevOps on Salesforce does not work like other platforms. Working on the Metadata API requires a fair amount of time investment and specialization. Harness the existing work of the Salesforce community where you can, but be aware that the task you are laying out may be rather more involved than you think and it's not necessarily something you can just throw together from off-the-shelf components.

Organizing Microsoft Azure DevOps Projects

I have a question about Microsoft DevOps (formerly Visual Studio Team Services or VSTS). I have multiple applications that are set up as separate projects, but we have basically one team of devs. Some of the older projects are TFS based some are git.
Ideally I would like to create a board based on the team and 'attach' projects to the board. Or something that ends up being roughly the equivalent of this.
I can't seem to find anything close to this. Does anyone have any ideas? Or any suggestions?
Thanks for your help!
As I mentioned in my comment you can use the AzureDevOps Rest API.
Representational State Transfer (REST) APIs are service endpoints that
support sets of HTTP operations (methods), which provide create,
retrieve, update, or delete access to the service's resources
Most REST APIs are accessible through our client
libraries,
which can be used to greatly simplify your client code.
Once you created your own board, you can fill up the details using the REST API response.

How to move team services backlog work items to another tenant

I would like to move the backlog items and any related linked items to another tenant, any ideas?
There's nothing built in that does this.
You'll either have to write your own solution or look into one of the various migration or integration tools that are available on the market. None of them provide full fidelity migration, however.
As Daniel said that there isn’t built-in tool.
You can build an application with REST API to create the new workitems per to the workitems in another VSTS. Regarding Work Item creating REST API, there is bypass rules that can remain System.CreatedDate and System.CreatedBy value: Make an update bypassing rules.
On the other hand, there is 3rd tool: OpsHub Visual Studio Online Migration Utility

How to report on changes on daily basis between sprint back log for changes in estimation or new work addedd

We are using VSTS Only and i am trying to figure out how can i report on changes made to Efforts in sprint backlog on daily basis. Burn down chart gives good insight but i want to get into what was changed. Also, i want to know what were if any new items added during the sprint(could be Bug etc).
I am managing fairly(18) large teams that are distributed across continents.
Also for reporting purpose since VSTS is not rolling up the totals from Tasks to Feature & Epic trying to find out what options do I have so that it is automated calculations?
You can use query to make daily report of effort, remaining work etc for the all backlog items or a certain sprint. Also you can send the query result as an email.
But for the daily changes, you need to manually compare with the day before.
I have used a spreadsheet connected to team services to load in the data. I then refresh the spreadsheet and analyze the data using pivot tables. For each period of time i want to save a manually I copy the data from the pivot tables for my comparisons. This is not a very clean solution but i have used it and it works.
Something I have not look into at any depth yet is PowerBI connected to team services. This looks like the data warehouse solution for Team Services. It looks promising. Please see - https://www.visualstudio.com/en-us/docs/report/powerbi/connect-vso-pbi-vs
You can refer to these steps to achieve your requirement:
Build a web app (e.g. Web API) to do with web hook data and store into your database
Create Web hooks for Work item created and update of required team projects to send the request to your web app
Add logical to build and send report to team members in your web app