Updating a Jira Comment, but also including the text that was already there

Hi there!

I am fairly new to make and have a question, I am trying to create and then update a Jira comment, the Jira comment is succesfully created, but then when I update it, the previous text is deleted, is there a way to update a Jira issue comment, but append the newly added information to the existing comment body? Rather than replacing it altogether?

I would appreciate any help on this, thank you.

1 Like

Hi @Joseph_Keith_Noott

To keep the existing body, you should map the existing data also there. meaning, you should first get the comment and then in update module, map from get request and then the new comment that you are updating with.

Hope this helps.

Regards,

Msquare Automation - Platinum Partner of Make
@Msquare_Automation

2 Likes

Thank you Msquare,

I am trying this but still getting the same issue,

I am not sure if the root is that I am using an iterator, and each time the iterator runs I need to store that data and add new data on the next iteration, for example:
a (1st iteration)
a + b (2nd iteration)
a + b + c (3rd iteration)
a + b + c + d (4th iteration)

at the moment it is showing
a (1st iteration)
a + b (2nd iteration)
a + c (3rd iteration)
a + d (4th iteration)

1 Like

Got it @Joseph_Keith_Noott

Then you should use aggregator after iterator and just map the comment in there and put the separator. Then map in Jira from aggregator. This will also save you some operations.

Regards,

Msquare Automation - Platinum Partner of Make
@Msquare_Automation

2 Likes

So currently my scenario has multiple iterators, as shown in the zoomed out photo, as you can see the module I am updating the Issue comment is module 67, the final Jira module, which iterator should I be adding aggregator to? And what is meant by Separator please?