I am integrating the Jira service desk and Jira software via automation and API. when a comment is made on the Jira service desk my automation automatically makes a comment in Jira software, but only if its a text. the following is my payload and I am using smart value to get the last issue comment. How to include media type if its an image. Please let me know if there is any possible way forward.
{
"body": {
"content": [
{
"content": [
{
"text": "{{issue.comments.last.author.displayName}} [automation - JSM] = {{issue.comments.last.body}}",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
}}
Is your JSM on a different site than your Jira Software?
Yes @Rebekka Heilmann _viadee_ both are on different sites. If it had been the same site, i could have tried the clone issue in automation, which supports copying attachments
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.