redmine_create_project: Create/update/delete project

Description Usage Arguments Value Author(s) See Also Examples

Description

These functions implement Redmine API calls to work with projects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
redmine_create_project(name, identifier, description = NULL,
  homepage = NULL, is_public = TRUE, parent_id = NULL,
  inherit_members = TRUE, tracker_ids = NULL,
  enabled_module_names = c("boards", "calendar", "documents", "files",
  "gantt", "issue_tracking", "news", "repository", "time_tracking",
  "wiki"), ...)

redmine_update_project(project_id, name = NULL, identifier = NULL,
  description = NULL, homepage = NULL, is_public = NULL,
  parent_id = NULL, inherit_members = NULL, tracker_ids = NULL,
  enabled_module_names = NULL, ...)

redmine_delete_project(project_id)

Arguments

name

Project name

identifier

Project identifier (no spaces)

description

Project description

homepage

Project homepage

is_public

Whether project should be made public (TRUE by default)

parent_id

Project's parent id

inherit_members

Whether to inherit members from parent

tracker_ids

Trackers id's

enabled_module_names

Enabled modules, a subset of c("boards", "calendar", "documents", "files", "gantt", "issue_tracking", "news", "repository", "time_tracking", "wiki")

...

Further parameters

project_id

Project id

Value

id of the created project for redmine_create_project

Author(s)

Maxim Nazarov

See Also

http://www.redmine.org/projects/redmine/wiki/Rest_Projects

redmine_search_id to search id by name

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
  newProjectId <- redmine_create_project(name = "testProject",
      identifier = "test-project", description = "project to testthings",
      enabled_module_names = c("files", "issue_tracking", "repository", 
          "time_tracking", "wiki"))
  
  redmine_update_project(newProjectId, description = "project to test things")
  redmine_delete_project(newProjectId)

## End(Not run)

openanalytics/redmineR documentation built on June 8, 2019, 8:29 a.m.