I have Product backlog item, I am able to see templates from Azure Board UI. I want to use Azure CLI commands to add templates to the product backlog item. I have query to create Backlog which is working fine but I am not getting how to add templates available to the backlog.
I'm afraid there is no such Azure CLI command to add templates to workitems. If you would like that feature, please create a request for this feature here.
Related
We have a use case where epics and features are maintained in Azure DevOps cloud and user stories in Azure DevOps Server.
Now we are looking for some kind of connectors to sync the data to get complete traceability in Azure DevOps Cloud?
Do you have any suggestions?
You can export work items from server and then import them to service using CSV. Here are the detailed steps:
In Azure DevOps Server, go to "Boards/Queries". Create a query to include all work itmes you want to export. Click "Column options" to include all fields you want. Then click "Export to CSV" to download a CSV file.
Open the CSV file. Delete the ID column and save the change.
In Azure DevOps Service, go to "Boards/Work items". Click "Import Work Items". Choose the CSV file in step 2. Finally, save the work items.
Some other advices:
REST APIs: You can get work items by Work Items - List. Then use them as request bodies to create work items by Work Items - Create.
Use Azure DevOps Server migration tool. However, this tool is more complex to use and requires specific server versions. Click the previous link to download the guide.
I have a setup that requires the repo, CI and CD of the application to live in one Azure DevOps project. Some of the work that is being done on that application is managed at times in a different Azure DevOps project.
I know that I can allow linking and reporting on CD progress to related Work Items. My problem is that it seems to work only when the Work Item is within the same Azure DevOps project that the CD is in.
Does anyone know of a way to get it working across projects?
I have this enabled on the CD pipeline:
Also, when I navigate to the Work Item associated to this Release Pipeline I see this (different Azure DevOps project):
As you can see it does not seem to report on the progress of the associated Release Pipeline. But it does report on the repo that lives in the other Azure DevOps project. Also, if I click on the Release link, it will bring me to the Release of the project where work is being managed and not where the Release Pipeline actually lives.
Does anyone know of a way to get it working across projects?
Of course, this can be achieved, you can refer to the following steps:
Step1: Commit changes to the Repo with Work items.
Note: You can link the work item from another project.
To link work item with repo, there are two methods:
Use #ID in comment.
Select the work item ID.
Step2: Enable the option Automatically link new work in this build in Build pipeline -> Options
Step3: In Rlease Pipeline, you need to select the Report deployment status to Work and
Report deployment status to Boards
The Option Report deployment status to Work will show the release under the link tab.
The Option Report deployment status to Boards will show the release under the Deployment tab.
Based on my test, it could work on work items from another project too.
Does this exist?
I have 10 team projects in Azure DevOps, each with 2 to 5 pipelines (using multi-stage yaml pipelines, not classic Release pipelines).
Is there any widget or built in functionality to see a dashboard of all of my pipelines across all projects with red/green status? Thinking to create a PowerBI report if not...
Dashboards are specific to the Team Project. There still is no such thing as an Organization level dashboard (See earlier questions: Is there a way to create an organization dashboard in Azure DevOps?)
The current "User Voice" topic for this request is here: https://developercommunity.visualstudio.com/idea/365500/single-dashboard-for-multiple-projects.html
The best option outside of Power BI is creating a dashboard per team and then tagging each as a favorite. They are then accessible via the favorites shortcut in the top navigation.
My company creates a lot of projects in Azure DevOps, and they all have the same structure -- same members, same permissions. Each project has different Git repositories within it, but that's the only thing (other than the name) that differs between them. It would be helpful to have a template so that everything is set up correctly each time we need a new one.
I don't see a way to do this through the web interface. I have the sense that I could probably do it with a script, but I don't know where to begin with that (including which tool to use). Where should I start?
It looks like there is now a way to do this without the Azure DevOps CLI (as long as your project that you want to template is one of the supported types (Agile, Scrum and Basic)). There is a tool available here that will step you through the process.
There is also an excellent blog post here that gives you an overview.
Yes, you can accomplish most of the configuration by script. For the beginning you might take a look at the Azure Devops CLI, which allows you to perform several actions on Azure Devops, like:
Create projects, Users and configure security
Create repositories, pipelines and set branch permissions
Create and manage work items
...
I installed the TaskO extension for my Azure DevOps organization. However, when I open one of my projects that uses the Scrum or Agile process I do not see where to create the automated tasks. Does anyone know how to create tasks with this extension?
Following TaskO UI is shown for each project. You can add tasks to the project, edit and delete them. These work as templates for actual tasks which are created by Azure DevOps whenever you add requirement/user story/PBI. You can also see the button to add the tasks for existing requirements. This TaskO UI is not required to be used after you have defined the tasks for that project. Creation of the actual tasks works in the background.
How to enable TaskO in Azure DevOps
I am afraid this TaskO extension is not very compatible with Azure Devops. I have installed this extension successfully for a long time, but I still could not make it work for my Azure Devops.
After install that extension for my Azure DevOps account, I could not see any add tasks UI display on my Azure DevOps. And on the page Q & A, there is also some feedback that they are not able to use this extension properly.
Besides, I have found a similar extension TaskO 2015, which is only work for TFS 2015. I am not very sure if this extension is work with Azure Deops. If this extension is work with Azure Devops, #Gouri S may need to provide us detailed instructions, which could help us to use this extension.
Hope this helps.