I suggest you...

Add "QueuedBy" system variable for obtaining user who has actually queued deployments

I'm getting persons username when receiving deployment status email from automatically triggered deployment (by Project trigger on machine becomes available event). In the email template i'm using Octopus.Deployment.CreatedBy.Username system variable to display user who has run deployment.
So in case of auto-triggered deployments I would like to get value "System" instead of some person's username (apparently one's who first has run the deployment manually).

Ref: http://help.octopusdeploy.com/discussions/problems/52736-octopusdeploymentcreatedbyusername-value-is-not-system-when-deployment-fired-by-project-trigger

67 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Andris shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...
  • RB commented  ·   ·  Flag as inappropriate

    If there was a new key in the event json called QueuedBy, we would also be able to see which events were initiated originally by a human vs the system user. This would be helpful in non DeploymentQueued events like Succeeded, Failed, etc.

Feedback and Knowledge Base