Hi community,
So I have a webhook set up from confluence that fires on page update. Our Jira instance picks up on this payload from a custom endpoint. I use the authenticatedRequestFactory to do a GET request on that page to return values from a table on that page.
It appears to be grabbing the underlying page without the changes, and I need the page with the changes applied. Is there a different API I could use for this other than whats pictured in the attachment?
-Jordan
This API should also let you grab the storage format:
/rest/api/content/60653595?expand=body.storage
Cheers,
DJ
@DJ Thank you for the quick response.
Unfortunately this is still resulting in the old data after changing my request to use that other endpoint.
I need the page after the data has been updated and the listener is sending the data from before the page is updated. Can I specify some time delay to offset when it reads the page to get this to work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Accepting the answer to close this -
The actual solution was to just add some amount of time to wait for confluence to actually post the update, then have the code run. I just added a .5 second wait time
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.