I have released a Powershell module that wraps up all the functions of the Kanbanize API into Powershell function calls. I don't have a lot of documentation and you have to do some setup work to run the included Pester unit tests but I wanted to put this out there to gauge the interest others have in this and make it available to those that can make good use of it without needing documentation.
The module is hosted on github as
cmagnuson/KanbanizePowerShell. Feel free to add issues for anything you see that doesn't work right as my unit tests don't cover 100% of the functionality.
Here is some examples of how you could use this:
Import-Module KanbanizePowerShell -Force
$Email = "y...@domain.com"
$Password = "yourpassword"
$SubDomain = "YourCompaniesSubdomain" #only use this if you don't use the free Kanbanize account and you have your own subdomain
$UserName = "UserName"
Set-KanbanizeSubDomain $SubDomain #only use this if you don't use the free Kanbanize account and you have your own subdomain
Invoke-KanbanizeLogin -Email $Email -Pass $Password
$KanbanizeBoards = Get-KanbanizeProjectsAndBoards
$HelpDeskBoardID = $KanbanizeBoards.projects.boards | where name -EQ "Help Desk" | select -ExpandProperty ID
$Tasks = Get-KanbanizeAllTasks -BoardID $HelpDeskBoardID
$Tasks
$Types = Get-KanbanizeFullBoardSettings -BoardID $HelpDeskBoardID | select -ExpandProperty types
$Types
$TasksToMoveAndComment = $Tasks | where {$_.columnpath -eq "Requested.Ready to be worked on" -and $_.lanename -eq "Planned Work"}
$TasksToMoveAndComment | % {
Add-KanbanizeComment -TaskID $_.taskid -Comment "Comment goes here"
Move-KanbanizeTask -BoardID $HelpDeskBoardID -TaskID $_.taskid -Column "Requested.Ready to be worked on" -Lane "Planned Work" -Position 0
}
New-KanbanizeTask -BoardID $TestBoardID -Title "Check out http://www.kanbanize.com/thisthing?stuff=something" -Description "Advanced http://www.kanbanize.com/thisthing?stuff=something" -Assignee "Test User" -CustomFields @{"trackitid"=68316; "trackiturl"="http://trackitServer/Helpdesk/Application/Main?tabs=w68316"}
Check out the KanbanizePowershell.tests.ps1 file for more examples of how to get the basics going and check out the module for a full list of functions. If it is in the Kanbanize API documentation then it should be in the module.
Shout out to the kanbanize team for fixing some bug requests I put in for the API that allowed me to make this as clean and fully functionality as it now is and for making an awesome software kanban product with a great sane simple API.