prow/github/client.go
func (c *Client) MoveProjectCard(projectCardID int, newColumnID int) error {
	c.log("MoveProjectCard", projectCardID, newColumnID)
	_, err := c.request(&request{
		method:      http.MethodPost,
		path:        fmt.Sprintf("/projects/columns/cards/%d/moves", projectCardID),
		accept:      "application/vnd.github.symmetra-preview+json", // allow the description field -- https://developer.github.com/changes/2018-02-22-label-description-search-preview/
		requestBody: fmt.Sprintf("{column_id: %d}", newColumnID),
		exitCodes:   []int{201},
	}, nil)
	return err
}
func (c *Client) MoveProjectCard(projectCardID int, newColumnID int) error {
	c.log("MoveProjectCard", projectCardID, newColumnID)
	_, err := c.request(&request{
		method:      http.MethodPost,
		path:        fmt.Sprintf("/projects/columns/cards/%d/moves", projectCardID),
		accept:      "application/vnd.github.symmetra-preview+json", // allow the description field -- https://developer.github.com/changes/2018-02-22-label-description-search-preview/
		requestBody: fmt.Sprintf("{column_id: %d}", newColumnID),
		exitCodes:   []int{201},
	}, nil)
	return err
}
func ( c * Client ) MoveProjectCard ( projectCardID int , newColumnID int ) error { c . log ( " " , projectCardID , newColumnID ) _ , err := c . request ( & request { method : http . MethodPost , path : fmt . Sprintf ( " " , projectCardID ) , accept : " " , // allow the description field -- https://developer.github.com/changes/2018-02-22-label-description-search-preview/ requestBody : fmt . Sprintf ( " " , newColumnID ) , exitCodes : [ ] int { 201 } , } , nil ) return err }
// MoveProjectCard moves a specific project card to a specified column in the same project
//
// See https://developer.github.com/v3/projects/cards/#move-a-project-card
MoveProjectCard moves a specific project card to a specified column in the same project See https : // developer . github . com / v3 / projects / cards / #move - a - project - card