Email sending options when build policy fails - azure

Is there any way to control sending e-mails to the auto reviewers if any of the build policy conditions fails In Azure DevOps?
We are using "Azure Repos GIT". Adding conditions in Build policies.

Is there any way to control sending e-mails to the auto reviewers if any of the build policy conditions fails In Azure DevOps?
The answer is yes.
You could create the Notifications with following filter:
To add a Notifications, go to user settings->Notifications:
Hope this helps.

Related

Send azure monitor alert to slack not working

I am sure this has been asked many times but am unable to find relevant answer. Is there any way to send Azure monitor alerts to slack via Logic apps or some other way. I have found this template - https://github.com/Azure/azure-quickstart-templates/tree/master/demos/alert-to-slack-with-logic-app and integrated it into my azure system but it is not working.
Have tried some work around mentioned at - https://github.com/Azure/azure-quickstart-templates/issues/3319 but all in vain
Direct Webhook from action group using slack incoming webhook is not supported , as azure sends alert using its own schema.
Any input is highly appreciated ...
Azure Logic Apps is definitely an option, but if you are not needing complicated workflows, just send the alert directly from Azure Monitor to a Slack channel. You can do this by generating a unique email for the Slack channel and using that email in your Azure Monitor alert action group settings. Another option would be to send the alert to your company alert email inbox and have it automatically forwarded to that Slack channel email address. With this approach you completely remove the dependency and complexity of Azure Logic Apps.
https://slack.com/help/articles/206819278-Send-emails-to-Slack#h_01F4WDZG8RTCTNAMR4KJ7D419V

Azure DevOps - Prohibit the most recent pusher from approving their own changes - Reviewer not able to accept his own changes

We are using Azure DevOps. 'Minimum number of reviewers' is set to 1, 'Allow requestors to approve their own changes' is enabled in branch specific policy and 'Prohibit the most recent pusher from approving their own changes' is checked in 'Cross-Repository policies for master'.
The issue we face is that, if a developer who is also a reviewer create a pull request, he cannot approve his own pull request and needs to wait for a review. Is it possible to give permission for reviewers to accept their own changes?
Even if I am against approving your own PR, you can enable it by
Branch Policies --> Allow requestors to approve their own changes
This appears to be a bug in DevOps when "When new changes are pushed: Require at least one approval on the last iteration" is checked. If you change that setting to "When new changes are pushed: Reset all approval votes ..." then it will allow them to approve their own request."

Send email notification for inactive task or bugs----Azure Devops

How do you configure an Email Notification for an individual user in an organization for not responding in a timeframe?
Eg: An email notification gets sent if Initial Response was not met within say 6 hours of VSO being assigned.
In Azure DevOps project notification settings, it's possible to configure a notification based on the following actions taking place on a work item:
Notification settings based on a timeout, or lack of response, are not apparent.
Is it possible to configure a notification based on a lack of activity for a work item?
Currently there are below pre-defined notifications for work items in Azure Boards.
See: Manage your personal notifications for details.
I am afraid that no such notifications are designed for your requirement. However, as a workaround, we can create a query to find those work items which are not changed from New for a period when they have been assigned to members, as below.
Above query will query bugs and tasks which are assigned to members but still state in New state and they are created earlier than today across projects. See: Define a query for details.
And clicking "Email query" allows you to send this query result to specific members.

Send Email when Azure CI Pipeline Just Started Running

I know there is an option to send an email when Azure CI pipeline completes/failed, but what I'm looking for is an option when a particular pipeline has just started/upon running, is there such thing? Thanks!
Check this extension: CatLight. It does not send emails just popups in your tray.
Azure DevOps does not have this notification, we could install the extension Send Email, and use the task Send email to get the email notification that the pipeline has just run.
We could also refer to this doc to use email task to send email.
Note: We could not send email for a azure DevOps team group via these tasks

Azure DevOps Dashboard - Scheduling email notification with report contents

Could you please help with the process in Azure DevOps VSTS to automate monthly email notification to specific users to remind them of the updated Bug Reporting along with the bug report content and dashboard.
Thank you
automate monthly email notification to specific users to remind them of the updated Bug Reporting along with the bug report content and dashboard
For this issue, I am afraid that the built-in notification of azure devops does not support such a feature, notifications should only support event triggering and not scheduled triggering.
When an event occurs in Azure DevOps or TFS, its content is compared with every subscription of that event type. If the subscription's filter conditions are met by the event, a notification is generated. A notification is generated for every subscription/event match.
The content shown in the notification is designed and we cannot customize it.
Here are some official document you can refer to.
Events, subscriptions, and notifications
About notifications
In addition, you could add your request for this feature on our UserVoice site , which is our main forum for product suggestions. After suggest raised, you can vote and add your comments for this feedback. The product team would provide the updates if they view it.

Resources