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

how can i add multiple comments to an issue at once with Jira api? Edited

i am getting issue details by making get request in the response  of that there is some comments like array of comment i wanted to add all those  comment to another issue at once like we do with component and label.

1 answer

0 votes
Nir Haimov Community Leader Nov 14, 2019

I don't think you can add all comments at once.

But you can run in a loop trough all comments and add then one after one

 I want to sync comments  as if somebody add a comment in issue then only that comment is need to add in synced issue..currently all the comments get added like issue A have 5 comment and issue B have 5 comment and if somebody add a comment in issue A then there 6 comment..now same 6th one is need to be add in the issue B ...i apply your logic of loop but what is happening now is all the 6comment of issue A is get added in issue B soo now there are total 11 comments...

Suggest an answer

Log in or Sign up to answer
TAGS

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