In Flashduty On-call
- In the Flashduty console, go to Integration Center → Change Events
- Select Octopus Deploy and enter an integration name
- To assign changes to specific channels, add rules under the integration’s Routes that match labels such as
projectorenvironment - Click Save and copy the generated Push URL
Configure Octopus Deploy
1
Create a subscription
- Go to Configuration → Subscriptions and click Add Subscription
- Name: enter a recognizable name, such as
Flashduty
2
Select events
In the filter’s Event Categories, select these five:
- Deployment queued
- Deployment started
- Deployment succeeded
- Deployment failed
- Deployment canceled
3
Enter the push URL
Under Webhook Notifications, turn the Enabled switch on (it is off by default and nothing is sent while it is off), then set Payload URL to the full push URL of the Flashduty integration. Leave the header empty: Flashduty authenticates with the
integration_key in the push URL. Save the subscription.What one change is
Status mapping
These deliveries return success but record no change:
- Deliveries without an event category, and event categories that are not deployments (creation and modification of projects, releases, environments, deployment targets, and so on)
- Deployment resumed and Deployment precondition evaluated, which do not change the outcome of the deployment
Deployment that Flashduty does not recognize returns InvalidParameter with the category name in the message; other events are not affected.
Change content
Labels can be used for routing and for filtering the change list:
Names are read from the event message. When one cannot be read, its label is empty and the title uses the ID instead.
FAQ
Does a repeated delivery record a duplicate?
Does a repeated delivery record a duplicate?
No. Octopus does not guarantee that each event is sent only once; a repeated event has the same occurrence time and category, and Flashduty records it once.
Why does a delivery return InvalidParameter?
Why does a delivery return InvalidParameter?
Payload.Event.RelatedDocumentIds has no Deployments- id: the deployment event carries no deployment ID; make sure the delivery comes from an Octopus subscriptionunknown deployment event category: a deployment event category we do not handle yet; contact us
Why does the change have no link?
Why does the change have no link?
Octopus only includes the server address in the payload when a public URL is configured. See the setup notes above.