How to get an edit-comment from a page?

Mikhail1990 July 15, 2020

Hello! Trying to get an edit-comment: 

Comment: Reverted from v. 1

from a page with method:

Vector<Comment> getComments(String token, String pageId)

But the method returns an empty array. 


image.png

 

1 answer

1 accepted

1 vote
Answer accepted
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 16, 2020

Hello Mikhail,

Thank you for bringing this thread to our attention.

Could you help me to understand exactly what it is you're trying to do? In Confluence, when saving a change you can enter a change comment. However, it seems that you might be trying to push the change, perhaps using REST-API? Do you have the full query that you were using?

Secondly, your screenshot appears to be an out-of-date version of Confluence. Can you confirm what version of Confluence you're using?

I also had a look at your other question here on Community, and it seems that a lot of your questions may be development-related. This Community is more for end users, with questions surrounding the Confluence UI and its capabilities. If you have any development-related questions, it's best to visit our Atlassian Developer Community. There you may find better luck in getting your questions answered.

Take care,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events