Post custom to-do lists (i.e. issues) based on yaml read in by read_todo. Please see the "Building Custom Plans" vignette for details.

post_todo(ref, todo, distinct = TRUE)

Arguments

ref

Repository reference (list) created by create_repo_ref()

todo

To-do R list structure as read with read_todo()

distinct

Logical value to denote whether issues with the same title as a current open issue should be allowed. Passed to get_issues()

Value

Number (identifier) of posted issue

Details

Currently has know bug in that cannot be used to introduce new labels.

See also

Other plans and todos: post_plan(), read_plan(), read_todo(), report_plan(), report_todo(), template_yaml()

Examples

if (FALSE) { # This example uses example file included in pkg # You should be able to run example as-is after creating your own repo reference file_path <- system.file("extdata", "todo.yml", package = "projmgr", mustWork = TRUE) my_todo <- read_todo(file_path) post_todo(ref, my_todo) }