I'm creating issues via the Jira REST API. They have Figma links in them but they're not being rendered as Smart Links. It's showing up as just a regular link.
Is there a way to trigger the Smart Link to be generated when creating issues via the API?
Hello,
For everyone who gets on this thread, the creation of smart links through Jira REST APL is possible by following the steps provided by Ibuchanan in this development question:
GET /rest/api/3/issue/{issueIdOrKey}
An issue payload might look something like the following:
{
"fields":{
"project":{
"key":"NGEW"
},
"issuetype":{
"id":"10308"
},
"summary":"inlineCard is a Smart Link",
"description":{
"type":"doc",
"version":1,
"content":[
{
"type":"paragraph",
"content":[
{
"type":"inlineCard",
"attrs":{
"url":"https://devpartisan.atlassian.net/browse/NGEW-1"
}
}
]
}
]
}
Thanks!
I had the same problem and it seems that it is not possible, in the comments however it can be done with the notation:
[https: //www.test.com.ar | https: //www.test.com.ar | smart-link]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Turns out its possible, see this post https://community.developer.atlassian.com/t/create-smart-links-via-jira-api/46820
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex,
This is an old post, but I wonder if it can help with your question: https://community.atlassian.com/t5/Answers-Developer-Questions/Create-hyperlink-in-Jira-issue-via-REST-API/qaq-p/552251
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.