When I try to send a link like as suggested here for the 'description, field while creating a JIRA ticket through a R script,
library(httr)
x <- list(fields = list(project = c(key = "TEST"),
summary = "New Issue Ticket Created",
description = "[Issue Doc|http://sharepointsite.com/folder/filname.ext]",
issuetype = c(name = "Task"),
assignee = c(name = assigneeUsrName)
)
)
response <- POST("https://somecompany.atlassian.net/rest/api/2/issue/",
body = RJSONIO::toJSON(x), authenticate("usrName","pwd", "basic"),
add_headers("Content-Type" = "application/json"), verbose())
I only see the text in the description field instead of a hyperlink.
[Issue Doc|http://sharepointsite.com/folder/filname.ext]
What am I missing here?