Reputation: 1324
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.
Upvotes: 1
Views: 1109
Reputation: 35194
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.
Upvotes: 2