Last active
December 11, 2015 23:19
-
-
Save mattstratton/4676161 to your computer and use it in GitHub Desktop.
PowerShell to grab LeanKit changes and put into a PowerShell object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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