Skip to content

Instantly share code, notes, and snippets.

@mattstratton
Last active December 11, 2015 23:19
Show Gist options
  • Save mattstratton/4676161 to your computer and use it in GitHub Desktop.
Save mattstratton/4676161 to your computer and use it in GitHub Desktop.
PowerShell to grab LeanKit changes and put into a PowerShell object
$j = Invoke-WebRequest -Uri http://aptstechops.leankitkanban.com/Kanban/Api/Board/34843018/BoardVersion/794/GetBoardHistorySince -Headers @{"Authorization" = "BASIC YXB0YWRtaW5zQGNsYXNzaWZpZWR2ZW50dXJlcy5jb206MnYzQnB0bmRoTHJmWVQ="}
$j2 = $j | ConvertFrom-Json
$j2.ReplyData.Item | ForEach-Object -Process {if ($_.EventType -eq "CardCreationEvent") { Write-Host $_.EventType}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment