Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to copy a comment with media attachment from one jira instance to another?

karthik raj January 2, 2024

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
}}


 

2 answers

0 votes
Caio Covos March 31, 2025

Hi @karthik raj

Did you find a solution to the problem you raised?
If yes, can you share with us?

0 votes
Rebekka Heilmann (viadee)
Community Champion
January 2, 2024

Is your JSM on a different site than your Jira Software?

karthik raj January 2, 2024

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 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events