Subscriptions/notifications for variable change.

Ben S's Avatar

Ben S

19 Jun, 2017 07:13 AM

Are we able to setup alerts/notifications so that when certain project variables are changed, a team is notified? I know the audit log contains this information but I have not seen anything in subscriptions to configure this, unless I am missing something.

  1. Support Staff 1 Posted by Dalmiro Grañas on 19 Jun, 2017 02:45 PM

    Dalmiro Grañas's Avatar

    Hi Ben,

    Thanks for reaching out! You can create a subscription for the document type Variable Set and scope it to a set of Projects. This will send you a notification whenever someone modifies a variable in those specific projects.

    What you cannot do is scope this to just 1 specific variable in the whole project. It has to be scoped for the entire variable set.

    Regards,
    Dalmiro

  2. 2 Posted by Ben S on 20 Jun, 2017 01:32 AM

    Ben S's Avatar

    Hi, thanks for the quick response.

    I must be missing something obvious, when I select 'Create Subscription' I have the following fields:-

    Event Groups
    Events
    Users
    Projects
    Environments

    I don't have a drop down for 'Document Type'

    Under Event Groups I have:-
    Auto-deploy events
    Auto-deploy critical-events
    Deployment events
    Deployment critical-events
    Machine events
    Machine critical-events
    Machine becomes available for deployment
    Machine is no longer available for deployment
    Certificate expiry events

    Under Events I have:-
    Auto-deploy trigger blocked
    Auto-deploy trigger succeeded
    Certificate expired
    Certificate expiry 10-day warning
    Certificate expiry 20-day warning
    Certificate private-key exported
    Certificate replaced
    Comment
    Deployment failed
    " queued
    " resumed
    Document Created
    Document deleted
    document modified
    export complete
    guided failure interruption raised
    import complete
    machine cleanup failed
    machine created
    machine deleted
    machine deployment-related property modified ***
    machine disabled
    machine enabled
    machine found healthy
    machine found to be unavailable
    machine found to be unhealthy
    machine found to have warnings
    machine health changed
    manual intervention interruption raised
    task cancelled.

  3. 3 Posted by Ben S on 20 Jun, 2017 01:35 AM

    Ben S's Avatar

    this is for all three of our instances (2x 3.5.2, and one 3.13.7)

  4. Support Staff 4 Posted by Dalmiro Grañas on 21 Jun, 2017 01:51 AM

    Dalmiro Grañas's Avatar

    Hi,

    I double checked this with the Dev team and confirm this was added in a very recent build (3.13.18): https://github.com/OctopusDeploy/Issues/issues/3401

    So Upgrading to the latest should make that field show up.

    Let me know if that helps

    Dalmiro

  5. 5 Posted by Ben S on 21 Jun, 2017 06:21 AM

    Ben S's Avatar

    Thanks, couldn't see anything specific to my use case in those links, but will upgrade in test, and take a look.

  6. Support Staff 6 Posted by Dalmiro Grañas on 21 Jun, 2017 03:54 PM

    Dalmiro Grañas's Avatar

    Hi Ben,

    You are right, the issue doesn't reflect the fact that the field was also added for subscriptions (which would have helped me to give you a better answer in the first place :) ). I've re-worded the github issue to reflect that change.

    Cheers
    Dalmiro

  7. Paul Stovell closed this discussion on 29 Sep, 2017 11:42 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac