-
We are using GenerateReleaseNotes 💘 (XPlat version) with Azure DevOps Server 2020 Update 1.1 (18.181.31626.1) running locally on our server. As far as I know, we don't have a problem with GenerateReleaseNotes, but rather with DevOps itself. However, I am trying to understand the root cause, and for that reason it would be interesting to know some details about GenerateReleaseNotes. We always add a link to one or more related work item when we commit. The work items are correctly linked to a commit. So far, so good. I have a build pipeline that is running for the first time. There is no previous build. When running the pipeline, some of our work items are not added to the list of related work items: DevOps lists over 50 items. To be exact, there are 78 items. However, when I manually check the commit history, I find 186 different work items associated with at least one commit. What could be the reason for 108 work items missing from this list? Is it correct that GenerateReleaseNotes lists the same work items for the release notes as DevOps lists in the related work items section? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
If a run is the first one for a given pipeline then the call my task uses to get the CS and WI are as follows (via the Node SDK)
These equate to
If it is a subsequent run then the calls are
which equate to
All I can suggest to make the API calls from a browser (they are just Gets), curl or postman and compare what is returned to UI. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I have spoken with Microsoft about this and I think the outcome might interest you as well:
I have an incomplete list of related work items in my build pipeline because the number of changes linked with a pipeline execution is limited to 250:
Let's say we have implemented a very important "Feature A". Now we continue working and make 250 more changes without ever mentioning "Feature A" again. In this case, when we run a build pipeline, "Feature A" will never be part of the related work items. This is especially bad if the list of related work items is later used, for example, to create release notes.
In my opinion, it is very dangerous and misleading that there is such a limit.
The limit…