I am receiving the events as a webhook which means I have no octopus variables to access.
Even then, the issue is /r/{ID}
is not a valid part of a URI wher /r/
has to be discerned by the webhook receiver (?).
{
"Timestamp":"2016-12-23T20:17:27.8180093+00:00",
"EventType":"SubscriptionPayload",
"Payload":{
"ServerUri":"http://localhost",
"ServerAuditUri":"http://localhost/#/configuration/audit?eventCategories=GuidedFailureInterruptionRaised&from=2016-12-23T20%3a16%3a57.%2b00%3a00&to=2016-12-23T20%3a17%3a27.%2b00%3a00",
"BatchProcessingDate":"2016-12-23T20:17:27.8120227+00:00",
"Subscription":{
"Id":"Subscriptions-1",
"Name":"Guided Intervention Test",
"Type":0,
"IsDisabled":false,
"EventNotificationSubscription":{
"Filter":{
"Users":[
],
"Projects":[
],
"Environments":[
],
"EventGroups":[
],
"EventCategories":[
"GuidedFailureInterruptionRaised"
],
"Tenants":[
],
"Tags":[
]
},
"EmailTeams":[
],
"EmailFrequencyPeriod":"01:00:00",
"EmailDigestLastProcessed":null,
"EmailShowDatesInTimeZoneId":"Central Standard Time",
"WebhookURI":"http://requestb.in/14a0and1",
"WebhookTeams":[
],
"WebhookLastProcessed":"2016-12-23T20:16:57.774638+00:00"
},
"Links":{
"Self":{
}
}
},
"Event":{
"Id":"Events-449",
"RelatedDocumentIds":[
"Deployments-62",
"Projects-21",
"Releases-42",
"Environments-2"
],
"Category":"GuidedFailureInterruptionRaised",
"UserId":"users-system",
"Username":"system",
"IdentityEstablishedWith":"Unknown",
"Occurred":"2016-12-23T20:17:05.3346986+00:00",
"Message":"Deploy to Local Guided Failure encountered guided failure for Guided Failure release 0.0.2 to Local Guided Failure",
"MessageHtml":"<a href='/r/Deployments-62'>Deploy to Local Guided Failure</a> encountered guided failure for <a href='/r/Projects-21'>Guided Failure</a> release <a href='/r/Releases-42'>0.0.2</a> to <a href='/r/Environments-2'>Local Guided Failure</a>",
"MessageReferences":[
{
"ReferencedDocumentId":"Deployments-62",
"StartIndex":0,
"Length":30
},
{
"ReferencedDocumentId":"Projects-21",
"StartIndex":63,
"Length":14
},
{
"ReferencedDocumentId":"Releases-42",
"StartIndex":86,
"Length":5
},
{
"ReferencedDocumentId":"Environments-2",
"StartIndex":95,
"Length":20
}
],
"Comments":null,
"Details":null,
"Links":{
"Self":{
}
}
}
}
}