-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While displaying list of work items, can we display latest 5/10 work items as release notes having limitation of 5000 characters in App center #1591
Comments
You don't need an enhancement of the task, you can write it yourself using the customization options available. Basically you write your own JavaScript based module to implement your own loop See this loop sample that loops with sort. You could modify this exit after returning a fixed number of items. See this part of WIKI on using extensions |
Thanks Richard for your reply.
|
I think you module needs to be more like https://github.com/rfennell/AzurePipelines/blob/main/SampleTemplates/XplatGenerateReleaseNotes%20(Node%20based)/Version%203%20(and%20later)/each_with_sort_by_field.js passing the array back as an enumerable item |
Thank you very much Richard. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
Azure DevOps Extensions
Generate Release Notes (Node Cross Platform)
Is your feature request related to a problem? Please describe.
Yaml template which is describing Work items and Pull request showing all items and pull request in release notes.
my requirement is latest 5 items to be displayed in release notes
Describe the solution you'd like
We can loop through work items and get the latest 5 elements.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: