How to pass an hyperlink to JIRA 'Description' field using R?

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?

0 answers

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Trello

Alice Camilla on organizing your work/life/fandoms with Trello!

@Alice Camilla is a university student, currently writing her MA thesis in Archaeology. She's also a freelance blogger and content creator, writing about geeky stuff from productivity apps to JR...

69 views 2 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you