Description Usage Arguments Value Examples
Comment on an existing issue
1 2 3 4 |
issue |
An existing issue id or key. |
comment |
Character vector, list or data.frame. See examples. |
jira_url |
base url to JIRA. Defaults to 'jira/' |
jira_user |
username for authentication |
jira_password |
password for authentication |
verbose |
FALSE |
POST results
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | ## Not run:
## set options
options("jira_user" = "my_user_name")
options("jira_password" = "xxxx")
options("jira_url" = "jira/")
options("jira_project" = "BAS")
## write comment to issue
add_comment(issue = "BAS-1", comment = "A comment")
## comment with formatting
my_comment <- "
Bullet points example
* point 1
** point 1.1
* point 2
"
add_comment(issue = "BAS-1", comment = my_comment) ## test formatting
## write a data.frame as a table
my_results_comment <- list("The results of this analysis:", head(iris, 4))
add_comment(issue = "BAS-1", comment = my_results_comment) ## formatting works
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.