ministryofjustice / operations-engineering

This repository is home to the Operations Engineering's tools and utilities for managing, monitoring, and optimising software development processes at the Ministry of Justice. • This repository is defined and managed in Terraform
https://user-guide.operations-engineering.service.justice.gov.uk/
MIT License
14 stars 5 forks source link

Automatically create tickets from Slack alerts #4953

Open levgorbunov1 opened 1 week ago

levgorbunov1 commented 1 week ago

User Need

As a Developer I want To be able to automatically create tickets to track bugs coming from Slack alerts so that I do not need to manually create these tickets each time

Value When workflows fail an alert goes into the alerts Slack channel, we investigate it and sometimes create a ticket for it, it could be efficient to have something like a button on the Slack alert which would then create the ticket for you. This way a ticket won't be automatically created for spurious errors or test runs, but it can be easily manually triggered if appropriate. Perhaps it will help us track and resolve smaller bugs that sometimes get forgotten about.

Bug tickets tend to have a fairly standardised structure before further investigation which should make automatic ticket creation easier.

Acceptance Criteria:

levgorbunov1 commented 4 days ago

Solution: Add button to all Slack alerts which links to https://github.com/ministryofjustice/operations-engineering/issues/new?title=MyTitle&body=MyBody&labels=MyLabel

connormaglynn commented 3 days ago

The GitHub to Slack integration already provides functionality for this - though it is a bit hidden unless you know it's their 👀

Image

Some information is pre-populated and you can amend some data within Slack Image