From 086fba84287619944395c28084dd88e39af19c0f Mon Sep 17 00:00:00 2001 From: anthonyjlau Date: Wed, 13 Mar 2024 00:29:02 -1000 Subject: [PATCH] i #277 added new functions, updated comments --- R/example.R | 74 +++++++++--------- R/jira.R | 154 ++++++++++++++++++++++++++++--------- man/create_assignee.Rd | 2 +- man/create_fix_versions.Rd | 9 ++- man/create_issue_type.Rd | 3 +- man/create_parent.Rd | 12 +-- man/create_priority.Rd | 2 +- man/create_project.Rd | 8 +- man/create_status.Rd | 2 +- man/create_versions.Rd | 21 +++++ man/create_votes.Rd | 20 +++++ man/create_watches.Rd | 20 +++++ man/make_jira_issue.Rd | 43 ++++++----- 13 files changed, 259 insertions(+), 111 deletions(-) create mode 100644 man/create_versions.Rd create mode 100644 man/create_votes.Rd create mode 100644 man/create_watches.Rd diff --git a/R/example.R b/R/example.R index db54ad59..8de72d80 100644 --- a/R/example.R +++ b/R/example.R @@ -407,19 +407,20 @@ example_jira_issue_components <- function(folder_path, folder_name) { issue1 <- make_jira_issue( jira_domain_url = "https://project.org/jira", issue_key = "GERONIMO-123", - version_names = c("3.4.3"), + project_key = "GERONIMO", + summary = "Summary of new feature", + description = "The new features have been implemented", + issue_type = "New Feature", resolution = "Finished", priority = "Minor", - labels = c("pull-request-available"), - assignee_name = "Moe", status = "Open", + labels = c("pull-request-available"), components = c("jira", "mail"), + affects_versions = c("3.4.3"), + fix_versions = c("3.4.2"), + assignee_name = "Moe", creator_name = "Bob", - reporter_name = "Joe", - issue_type = "New Feature", - project_type = "software", - description = "The new features have been implemented", - summary = "Summary of new feature" + reporter_name = "Joe" ) issues <- list(issue1) @@ -447,37 +448,39 @@ example_jira_two_issues <- function(folder_path, folder_name) { issue1 <- make_jira_issue( jira_domain_url = "https://project.org/jira", issue_key = "PROJECT-11", - version_names = c("1.1.1"), + project_key = "PROJECT", + summary = "Summary of issue 1", + description = "Description of summary 1", + issue_type = "New Feature", resolution = "Finished", priority = "Minor", + status = "Closed", labels = c("pull-request-available"), + components = c("jira"), + affects_versions = c("1.1.1"), + fix_versions = c("1.1.1"), assignee_name = "Moe", - status = "Open", - components = c("jira", "mail"), creator_name = "Bob", - reporter_name = "Joe", - issue_type = "New Feature", - project_type = "software", - description = "The new features have been implemented", - summary = "This is issue 1" + reporter_name = "Joe" ) issue2 <- make_jira_issue( jira_domain_url = "https://project.org/jira", issue_key = "PROJECT-22", - version_names = c("2.2.2"), - resolution = "Fixed", - priority = "Major", - labels = c("pull-request-available"), - assignee_name = "Moe", + project_key = "PROJECT", + summary = "Summary of issue 2", + description = "Description of summary 2", + issue_type = "New Feature", + resolution = "Finished", + priority = "Minor", status = "Open", + labels = c("pull-request-available"), components = c("jira"), - creator_name = "Carlos", - reporter_name = "Paul", - issue_type = "Improvement", - project_type = "software", - description = "This is the description for issue 2", - summary = "This is issue 2" + affects_versions = c("2.2.2"), + fix_versions = c("2.2.2"), + assignee_name = "Steven", + creator_name = "Nathan", + reporter_name = "Matthew" ) issues <- list(issue1, issue2) @@ -504,20 +507,21 @@ example_jira_issue_comments <- function(folder_path, folder_name) { issue1 <- make_jira_issue( jira_domain_url = "https://project.org/jira", - issue_key = "SPARK-123", - version_names = c("3.4.3"), + issue_key = "GERONIMO-123", + project_key = "GERONIMO", + summary = "Summary of new feature", + description = "The new features have been implemented", + issue_type = "New Feature", resolution = "Finished", priority = "Minor", - labels = c("pull-request-available"), - assignee_name = "Moe", status = "Open", + labels = c("pull-request-available"), components = c("jira", "mail"), + affects_versions = c("3.4.3"), + fix_versions = c("3.4.2"), + assignee_name = "Moe", creator_name = "Bob", reporter_name = "Joe", - issue_type = "New Feature", - project_type = "software", - description = "The new features have been implemented", - summary = "Summary of new feature", comments = c( "This is the first body comment.", "This is the second body comment." diff --git a/R/jira.R b/R/jira.R index 6a17a44f..f3da8907 100644 --- a/R/jira.R +++ b/R/jira.R @@ -207,42 +207,46 @@ parse_jira_rss_xml <- function(jira_issues_folderpath){ #' Creates a single JIRA Issue as a list, which can be saved as a JSON with or without comments. #' #' @param jira_domain_url URL of JIRA domain (e.g. "https://project.org/jira") -#' @param issue_key issue key of JIRA issue (e.g. "PROJECT-68" or "GERONIMO-6723) -#' @param version_names list of version names (e.g. c("3.1.5", "4.0.0")) +#' @param issue_key issue key of JIRA issue (e.g. "PROJECT-68" or "GERONIMO-6723") +#' @param project_key key of the project that contains the JIRA issue (e.g. "SPARK" or "GERONIMO") +#' @param summary summary of the issue (e.g. "Site Keeps Crashing") +#' @param description more detailed description of issue (e.g. "The program keeps crashing because this reason") +#' @param issue_type type of JIRA issue (e.g. "New Feature", "Task", "Bug") #' @param resolution name of resolution for issue (e.g. "Fixed") #' @param priority the name of the priority of the issue (e.g. "Major", "Minor", "Trivial") -#' @param labels the labels of the project (e.g. "message", "mail", "jira") -#' @param assignee_name name of person the issue is being assigned to (e.g. "Joe Schmo") #' @param status status of issue for development (e.g. "In Progress") +#' @param labels the labels of the project (e.g. "message", "mail", "jira") #' @param components list of components of issue (e.g. c("PS", "Tests")) +#' @param affects_versions list of affected versions (e.g. c("3.1.6", "4.1.0")) +#' @param fix_versions list of fixed versions (e.g. c("3.1.5", "4.0.0")) +#' @param assignee_name name of person the issue is being assigned to (e.g. "Joe Schmo") #' @param creator_name name of creator of issue (e.g. "John Doe") #' @param reporter_name name of reporter of issue (e.g. "Jane Doe") -#' @param issue_type type of JIRA issue (e.g. "New Feature", "Task", "Bug") -#' @param project_type the type of the project (e.g. "software") -#' @param description more detailed description of issue (e.g. "The program keeps crashing because this reason") -#' @param summary summary of the issue (e.g. "Site Keeps Crashing") #' @param comments character list where each element is a comment string (e.g. c("This is first comment", "This is second comment")) #' @return A list which represents the JIRA JSON in memory #' @export #' @family {unittest} -make_jira_issue <- function(jira_domain_url, issue_key, version_names, resolution, priority, labels, - assignee_name, status, components, creator_name, reporter_name, issue_type, - project_type, description, summary, comments = NULL) { +make_jira_issue <- function(jira_domain_url, issue_key, project_key, summary, description, issue_type, + resolution, priority, status, labels, components, affects_versions, fix_versions, + assignee_name, creator_name, reporter_name, comments = NULL) { # Create an issue with the given parameters as a list. If comments are specified, then add comments to the list fields <- list( - fixVersions = create_fix_versions(jira_domain_url, version_names), + fixVersions = create_fix_versions(jira_domain_url, fix_versions), resolution = create_resolution(name = resolution), priority = create_priority(jira_domain_url, priority), labels = labels, + versions = create_versions(jira_domain_url, affects_versions), assignee = create_assignee(jira_domain_url, assignee_name), status = create_status(jira_domain_url, status), components = create_components(jira_domain_url, components), creator = create_creator(jira_domain_url, creator_name), reporter = create_reporter(jira_domain_url, reporter_name), + votes = create_votes(jira_domain_url, issue_key), issuetype = create_issue_type(jira_domain_url, issue_type), - project = create_project(jira_domain_url, issue_key, project_type), + project = create_project(jira_domain_url, project_key), resolutiondate = "2007-08-13T19:12:33.000+0000", + watches = create_watches(jira_domain_url, issue_key), created = "2007-07-08T06:07:06.000+0000", updated = "2008-05-12T08:01:39.000+0000", description = description, @@ -363,7 +367,8 @@ create_issue_comments <- function(comments) { #' Create Issue Type #' -#' Create issue type cell for \code{\link{make_jira_issue}}. +#' Create issue type cell for \code{\link{make_jira_issue}}. This represents the 'Type' +#' label in JIRA #' #' @param jira_domain_url URL of JIRA domain #' @param issue_type name of the issue type (e.g. New Feature) @@ -508,7 +513,7 @@ create_resolution <- function(self_url = "https://domain.org/jira/rest/api/2/res #' Create Assignee #' -#' Creates a assignee cell for \code{\link{make_jira_issue}}. +#' Creates an assignee cell for \code{\link{make_jira_issue}}. #' #' @param jira_domain_url URL of JIRA domain #' @param assignee_name name of assignee @@ -544,7 +549,7 @@ create_assignee <- function(jira_domain_url, assignee_name) { #' #' @param jira_domain_url URL of JIRA domain #' @param status description of status -#' @return A list named 'status' containing status's information +#' @return A list named 'status' containing the status of the issue #' @keywords internal create_status <- function(jira_domain_url, status) { @@ -574,17 +579,18 @@ create_status <- function(jira_domain_url, status) { #' Create Fix Version #' -#' Create a fixVersions cell for \code{\link{make_jira_issue}}. +#' Create a fixVersions cell for \code{\link{make_jira_issue}}. This represents the +#' 'Fixed Version/s' label in JIRA #' #' @param jira_domain_url URL of JIRA domain -#' @param version_names list of version names for the issue -#' @return A list named 'fixVersions' with a list of versions. +#' @param fix_versions list of fixed versions for the issue +#' @return A list named 'fixVersions' with a list of fixed versions and version information #' @keywords internal -create_fix_versions <- function(jira_domain_url, version_names) { +create_fix_versions <- function(jira_domain_url, fix_versions) { fixVersions_list <- list() - for(version_name in version_names){ + for(fix_version in fix_versions){ id <- sample(10000000: 99999999, 1) self_url <- paste0(jira_domain_url, "/rest/api/2/version/", id) @@ -592,7 +598,7 @@ create_fix_versions <- function(jira_domain_url, version_names) { self = self_url, id = as.character(id), description = "This is a description of the fixVersion", - name = version_name, + name = fix_version, archived = FALSE, released = TRUE, releaseDate = "2021-01-01T10:00:00.000+0000" @@ -610,7 +616,7 @@ create_fix_versions <- function(jira_domain_url, version_names) { #' #' @param jira_domain_url URL of JIRA domain #' @param priority the name of the priority of the issue (Major, Minor, Trivial) -#' @return A list named 'priority' containing priority information. +#' @return A list named 'priority' containing the priority of the issue #' @keywords internal create_priority <- function(jira_domain_url, priority) { @@ -633,13 +639,13 @@ create_priority <- function(jira_domain_url, priority) { #' Create a parent cell for \code{\link{make_jira_issue}}. #' #' @param jira_domain_url URL of JIRA domain -#' @param issue_key issue key of JIRA issue (e.g. "PROJECT-68" or "GERONIMO-6723) -#' @param status status of issue for development (e.g. "In Progress") -#' @param priority the name of the priority of the issue (Major, Minor, Trivial) -#' @param issue_type type of JIRA issue (e.g. "New Feature", "Task", "Bug") -#' @return A list named 'parent' that contains information on a parent issue +#' @param parent_issue_key issue key of the parent issue of the current JIRA issue +#' @param status status of issue for development +#' @param priority the name of the priority of the issue +#' @param issue_type type of JIRA issue +#' @return A list named 'parent' that contains a parent issue and it's fields #' @keywords internal -create_parent <- function(jira_domain_url, issue_key, status, priority, issue_type) { +create_parent <- function(jira_domain_url, parent_issue_key, status, priority, issue_type) { id <- sample(10000000: 99999999, 1) @@ -654,7 +660,7 @@ create_parent <- function(jira_domain_url, issue_key, status, priority, issue_ty parent <- list( id = as.character(id), - key = issue_key, + key = parent_issue_key, self = self_url, fields = fields ) @@ -667,11 +673,10 @@ create_parent <- function(jira_domain_url, issue_key, status, priority, issue_ty #' Create a project cell for \code{\link{make_jira_issue}}. #' #' @param jira_domain_url URL of JIRA domain -#' @param issue_key issue key of JIRA issue (e.g. "PROJECT-68" or "GERONIMO-6723) -#' @param project_type the type of the project -#' @return A list named 'project' that contains project type and other project information +#' @param project_key key of the project that contains the JIRA issue (e.g. "SPARK" or "GERONIMO") +#' @return A list named 'project' that contains the project's information #' @keywords internal -create_project <- function(jira_domain_url, issue_key, project_type) { +create_project <- function(jira_domain_url, project_key) { id <- sample(10000000: 99999999, 1) @@ -687,9 +692,84 @@ create_project <- function(jira_domain_url, issue_key, project_type) { project <- list( self = self_url, id = as.character(id), - key = issue_key, - name = issue_key, - projectTypeKey = project_type, + key = project_key, + name = project_key, + projectTypeKey = "software", avartarUrls = avatarUrls ) } + +#' Create Versions +#' +#' Create a versions cell for \code{\link{make_jira_issue}}. This cell represents +#' the 'Affects Version/s' label in JIRA +#' +#' @param jira_domain_url URL of JIRA domain +#' @param affects_versions list of version names for the issue +#' @return A list named 'versions' with a list of versions +#' @keywords internal +create_versions <- function(jira_domain_url, affects_versions) { + + versions_list <- list() + + for(affects_version in affects_versions){ + id <- sample(10000000: 99999999, 1) + self_url <- paste0(jira_domain_url, "/rest/api/2/version/", id) + + version <- list( + self = self_url, + id = as.character(id), + description = "This is a description of the version", + name = affects_version, + archived = FALSE, + released = TRUE, + releaseDate = "2024-01-01T10:00:00.000+0000" + ) + + versions_list[[length(versions_list) + 1]] <- version + } + + return(versions_list) +} + +#' Create Votes +#' +#' Create a votes cell for \code{\link{make_jira_issue}}. +#' +#' @param jira_domain_url URL of JIRA domain +#' @param issue_key issue key of JIRA issue +#' @return A list named 'votes' that has the number of votes for the issue +#' @keywords internal +create_votes <- function(jira_domain_url, issue_key) { + + self_url <- paste0(jira_domain_url, "/rest/api/2/issue/", issue_key, "votes") + + votes <- list( + self = self_url, + votes = 10, + hasVoted = FALSE + ) + + return(votes) +} + +#' Create Watches +#' +#' Create a watches cell for \code{\link{make_jira_issue}}. +#' +#' @param jira_domain_url URL of JIRA domain +#' @param issue_key issue key of JIRA issue +#' @return A list named 'watches' that has the number of watchers for the issue +#' @keywords internal +create_watches <- function(jira_domain_url, issue_key) { + + self_url <- paste0(jira_domain_url, "/rest/api/2/issue/", issue_key, "watchers") + + watches <- list( + self = self_url, + watchCount = 15, + isWatching = FALSE + ) + + return(watches) +} diff --git a/man/create_assignee.Rd b/man/create_assignee.Rd index 0e6bce1a..1b24ffd2 100644 --- a/man/create_assignee.Rd +++ b/man/create_assignee.Rd @@ -15,6 +15,6 @@ create_assignee(jira_domain_url, assignee_name) A list named 'assignee' which contains the assignee's information } \description{ -Creates a assignee cell for \code{\link{make_jira_issue}}. +Creates an assignee cell for \code{\link{make_jira_issue}}. } \keyword{internal} diff --git a/man/create_fix_versions.Rd b/man/create_fix_versions.Rd index d7fa7c16..35f8fe12 100644 --- a/man/create_fix_versions.Rd +++ b/man/create_fix_versions.Rd @@ -4,17 +4,18 @@ \alias{create_fix_versions} \title{Create Fix Version} \usage{ -create_fix_versions(jira_domain_url, version_names) +create_fix_versions(jira_domain_url, fix_versions) } \arguments{ \item{jira_domain_url}{URL of JIRA domain} -\item{version_names}{list of version names for the issue} +\item{fix_versions}{list of fixed versions for the issue} } \value{ -A list named 'fixVersions' with a list of versions. +A list named 'fixVersions' with a list of fixed versions and version information } \description{ -Create a fixVersions cell for \code{\link{make_jira_issue}}. +Create a fixVersions cell for \code{\link{make_jira_issue}}. This represents the +'Fixed Version/s' label in JIRA } \keyword{internal} diff --git a/man/create_issue_type.Rd b/man/create_issue_type.Rd index 23be7c09..29f563f2 100644 --- a/man/create_issue_type.Rd +++ b/man/create_issue_type.Rd @@ -15,6 +15,7 @@ create_issue_type(jira_domain_url, issue_type) A list named 'issue_type' that represents the issue type of the JIRA issue } \description{ -Create issue type cell for \code{\link{make_jira_issue}}. +Create issue type cell for \code{\link{make_jira_issue}}. This represents the 'Type' +label in JIRA } \keyword{internal} diff --git a/man/create_parent.Rd b/man/create_parent.Rd index 4e742209..b4bf1e41 100644 --- a/man/create_parent.Rd +++ b/man/create_parent.Rd @@ -4,21 +4,21 @@ \alias{create_parent} \title{Create Parent} \usage{ -create_parent(jira_domain_url, issue_key, status, priority, issue_type) +create_parent(jira_domain_url, parent_issue_key, status, priority, issue_type) } \arguments{ \item{jira_domain_url}{URL of JIRA domain} -\item{issue_key}{issue key of JIRA issue (e.g. "PROJECT-68" or "GERONIMO-6723)} +\item{parent_issue_key}{issue key of the parent issue of the current JIRA issue} -\item{status}{status of issue for development (e.g. "In Progress")} +\item{status}{status of issue for development} -\item{priority}{the name of the priority of the issue (Major, Minor, Trivial)} +\item{priority}{the name of the priority of the issue} -\item{issue_type}{type of JIRA issue (e.g. "New Feature", "Task", "Bug")} +\item{issue_type}{type of JIRA issue} } \value{ -A list named 'parent' that contains information on a parent issue +A list named 'parent' that contains a parent issue and it's fields } \description{ Create a parent cell for \code{\link{make_jira_issue}}. diff --git a/man/create_priority.Rd b/man/create_priority.Rd index f0970507..e2ec7520 100644 --- a/man/create_priority.Rd +++ b/man/create_priority.Rd @@ -12,7 +12,7 @@ create_priority(jira_domain_url, priority) \item{priority}{the name of the priority of the issue (Major, Minor, Trivial)} } \value{ -A list named 'priority' containing priority information. +A list named 'priority' containing the priority of the issue } \description{ Create a priority cell for \code{\link{make_jira_issue}}. diff --git a/man/create_project.Rd b/man/create_project.Rd index 3522fd0d..e6ba3e0a 100644 --- a/man/create_project.Rd +++ b/man/create_project.Rd @@ -4,17 +4,15 @@ \alias{create_project} \title{Create Project} \usage{ -create_project(jira_domain_url, issue_key, project_type) +create_project(jira_domain_url, project_key) } \arguments{ \item{jira_domain_url}{URL of JIRA domain} -\item{issue_key}{issue key of JIRA issue (e.g. "PROJECT-68" or "GERONIMO-6723)} - -\item{project_type}{the type of the project} +\item{project_key}{key of the project that contains the JIRA issue (e.g. "SPARK" or "GERONIMO")} } \value{ -A list named 'project' that contains project type and other project information +A list named 'project' that contains the project's information } \description{ Create a project cell for \code{\link{make_jira_issue}}. diff --git a/man/create_status.Rd b/man/create_status.Rd index 8989c069..a5c08bab 100644 --- a/man/create_status.Rd +++ b/man/create_status.Rd @@ -12,7 +12,7 @@ create_status(jira_domain_url, status) \item{status}{description of status} } \value{ -A list named 'status' containing status's information +A list named 'status' containing the status of the issue } \description{ Creates a status cell for \code{\link{make_jira_issue}}. diff --git a/man/create_versions.Rd b/man/create_versions.Rd new file mode 100644 index 00000000..a9bac2b9 --- /dev/null +++ b/man/create_versions.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/jira.R +\name{create_versions} +\alias{create_versions} +\title{Create Versions} +\usage{ +create_versions(jira_domain_url, affects_versions) +} +\arguments{ +\item{jira_domain_url}{URL of JIRA domain} + +\item{affects_versions}{list of version names for the issue} +} +\value{ +A list named 'versions' with a list of versions +} +\description{ +Create a versions cell for \code{\link{make_jira_issue}}. This cell represents +the 'Affects Version/s' label in JIRA +} +\keyword{internal} diff --git a/man/create_votes.Rd b/man/create_votes.Rd new file mode 100644 index 00000000..0c499785 --- /dev/null +++ b/man/create_votes.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/jira.R +\name{create_votes} +\alias{create_votes} +\title{Create Votes} +\usage{ +create_votes(jira_domain_url, issue_key) +} +\arguments{ +\item{jira_domain_url}{URL of JIRA domain} + +\item{issue_key}{issue key of JIRA issue} +} +\value{ +A list named 'votes' that has the number of votes for the issue +} +\description{ +Create a votes cell for \code{\link{make_jira_issue}}. +} +\keyword{internal} diff --git a/man/create_watches.Rd b/man/create_watches.Rd new file mode 100644 index 00000000..a671864a --- /dev/null +++ b/man/create_watches.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/jira.R +\name{create_watches} +\alias{create_watches} +\title{Create Watches} +\usage{ +create_watches(jira_domain_url, issue_key) +} +\arguments{ +\item{jira_domain_url}{URL of JIRA domain} + +\item{issue_key}{issue key of JIRA issue} +} +\value{ +A list named 'watches' that has the number of watchers for the issue +} +\description{ +Create a watches cell for \code{\link{make_jira_issue}}. +} +\keyword{internal} diff --git a/man/make_jira_issue.Rd b/man/make_jira_issue.Rd index 41f96ae3..6748fe99 100644 --- a/man/make_jira_issue.Rd +++ b/man/make_jira_issue.Rd @@ -7,52 +7,55 @@ make_jira_issue( jira_domain_url, issue_key, - version_names, + project_key, + summary, + description, + issue_type, resolution, priority, - labels, - assignee_name, status, + labels, components, + affects_versions, + fix_versions, + assignee_name, creator_name, reporter_name, - issue_type, - project_type, - description, - summary, comments = NULL ) } \arguments{ \item{jira_domain_url}{URL of JIRA domain (e.g. "https://project.org/jira")} -\item{issue_key}{issue key of JIRA issue (e.g. "PROJECT-68" or "GERONIMO-6723)} +\item{issue_key}{issue key of JIRA issue (e.g. "PROJECT-68" or "GERONIMO-6723")} -\item{version_names}{list of version names (e.g. c("3.1.5", "4.0.0"))} +\item{project_key}{key of the project that contains the JIRA issue (e.g. "SPARK" or "GERONIMO")} -\item{resolution}{name of resolution for issue (e.g. "Fixed")} +\item{summary}{summary of the issue (e.g. "Site Keeps Crashing")} -\item{priority}{the name of the priority of the issue (e.g. "Major", "Minor", "Trivial")} +\item{description}{more detailed description of issue (e.g. "The program keeps crashing because this reason")} -\item{labels}{the labels of the project (e.g. "message", "mail", "jira")} +\item{issue_type}{type of JIRA issue (e.g. "New Feature", "Task", "Bug")} -\item{assignee_name}{name of person the issue is being assigned to (e.g. "Joe Schmo")} +\item{resolution}{name of resolution for issue (e.g. "Fixed")} + +\item{priority}{the name of the priority of the issue (e.g. "Major", "Minor", "Trivial")} \item{status}{status of issue for development (e.g. "In Progress")} +\item{labels}{the labels of the project (e.g. "message", "mail", "jira")} + \item{components}{list of components of issue (e.g. c("PS", "Tests"))} -\item{creator_name}{name of creator of issue (e.g. "John Doe")} +\item{affects_versions}{list of affected versions (e.g. c("3.1.6", "4.1.0"))} -\item{reporter_name}{name of reporter of issue (e.g. "Jane Doe")} +\item{fix_versions}{list of fixed versions (e.g. c("3.1.5", "4.0.0"))} -\item{issue_type}{type of JIRA issue (e.g. "New Feature", "Task", "Bug")} - -\item{project_type}{the type of the project (e.g. "software")} +\item{assignee_name}{name of person the issue is being assigned to (e.g. "Joe Schmo")} -\item{description}{more detailed description of issue (e.g. "The program keeps crashing because this reason")} +\item{creator_name}{name of creator of issue (e.g. "John Doe")} -\item{summary}{summary of the issue (e.g. "Site Keeps Crashing")} +\item{reporter_name}{name of reporter of issue (e.g. "Jane Doe")} \item{comments}{character list where each element is a comment string (e.g. c("This is first comment", "This is second comment"))} }