Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

addComment not working as per the documentation

 
1
0
-1

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


    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      sdf

        CommentAdd your comment...
      1.  
        1
        0
        -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


          CommentAdd your comment...