Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Copy latest comments and attachments in Jira automation Edited


Every time a Jira Service Desk ticket is created I clone it based on some criteria. Every time a comment is added to the original ticket, I copy the comments over to the cloned ticket. I am using the Jira Automation plugin to achieve these actions. Sometimes I have attachments as part of the comment.  

I am using the following JQL to copy my comments over, but this is copying just the textual portion of it and not the attachment. 


There is a way to copy Attachments from the Trigger issue (parent issue) in Jira Automation by using its Edit Issue functionality. The problem with this is that it copies All the attachments and not just the latest one that triggers the automation, hence I am ending up with multiple copies of the attachments.


Is there a way to copy latest comments along with its attachment if any. 


1 answer

1 vote
Ivan Lima Community Leader Oct 03, 2020

Hey @Ragvi Ttpt, to my knowledge, you can't selectively copy attachments over. You can find the improvement AUT-1196, in their backlog, related to this item. Also, when copying the attachments from the triggered issue, you might have come across duplicate attachments, which also has been tracked as another improvement, AUT-1210

I haven't explored alternative ways to achieve this using Automation for Jira. Therefore, I'm not sure whether or not there is a workaround here. I do know you can access those fields through smart values such as {{issue.issuelinks.first.outwardIssue.comment.last}}, but they bring the description/text and not the actual objects.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

163 views 0 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you