1
0
-1
2 answers
- 10-1
sdf
Add your comment... - 10-1
Hi Sujan Karanjeet,
May I ask which platform you are trying this on? Also, if the first one works for you, then I believe the duplication might be a result of the script having another line regarding comments after the one you have added here. Can you please carefully check that too?
Thanks
Majid
Add your comment...
I tried to add a comment using addComment: https://docs.exalate.com/docs/addcomment-6226057
But this does not seem to work.
issue.comments = commentHelper.addComment("Resolution changed to done", issue.comments)
--> This comments the issue but it's showing the same comment twice.
issue.comments = commentHelper.addComment("Custom made comment", false, issue.comments)
--> This does not work.
Please let me know if someone has tried this and if it works.
Cheers,
Sujan