rfennell / AzurePipelines

A single Repo to contain the source for ALL my Azure DevOps Build/Release Extensions. The packages can be found in the Azure DevOps Marketplace
https://marketplace.visualstudio.com/search?term=fenn&target=VSTS&sortBy=Relevance
MIT License
336 stars 430 forks source link

Approval information not available #1907

Open howest-alexander opened 1 month ago

howest-alexander commented 1 month ago

Azure DevOps Extensions

Generate Release Notes (Node Cross Platform)

Is your feature request related to a problem? Please describe.

In our release pipelines the release notes are generated for production after approval. Sometimes the release is already a few days generated when it gets approved. This means the timestamp in the release notes template is not the timestamp of the approval. I cannot find a way to get the approval modifiedon from the existing objects.

Describe the solution you'd like

Adding approval data to the releaseDetail or other object in the release notes template could solve my issue. We could add then the release creation date and release approval date to the release notes which makes it a lot more clear for functional analysts.

Describe alternatives you've considered

No response

Additional context

No response

rfennell commented 1 month ago

I think you only option is to create a custom Handlebars extension that uses some JavaScript to get the current date or maybe even call the Azure DevOps API to extract the date from the timeline and try to find the date you need. Though I have to say never heard of anyone using the custom extensions in this way before.