-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
Minor
-
Issue Summary
The specific event in Connect: page_moved that should be equivalent to Forge’s avi:confluence:moved:page accordingly to:
It doesn’t provide the same data; it misses data regarding the parenting/children page.
For reference how those two events report data on different platform (Connect vs Forge).
Connect
{
newParent: {
idAsString: '<String>',
creatorAccountId: '<String>',
spaceKey: '<String>',
spaceId: <Number>,
modificationDate: <Number>,
lastModifierAccountId: '<String>',
self: '<String>,
id: '<String>',
title: '<String>',
creationDate: <Number>,
contentType: '<String>',
version: <Number>
},
page: {
idAsString: '<String>',
creatorAccountId: '<String>',
spaceKey: '<String>',
spaceId: <Number>,
modificationDate: <Number>,
lastModifierAccountId: '<String>',
self: '<String>',
id: '<String>',
title: '<String>',
creationDate: <Number>,
contentType: '<String>',
version: <Number>
},
oldParent: {
idAsString: '<String>',
creatorAccountId: '<String>',
spaceKey: '<String>',
spaceId: <Number>,
modificationDate: <Number>,
lastModifierAccountId: '<String>',
self: '<String>',
id: '<String>',
title: '<String>',
creationDate: <Number>,
contentType: '<String>',
version: <Number>
},
userAccountId: '<String>',
accountType: '<String>',
timestamp: <Number>
}
Forge
https://developer.atlassian.com/platform/forge/events-reference/confluence/#type-reference
Steps to Reproduce
- Have two apps, one with the Forge event and other with Connect event
- Move a page to another nesting position
- Compare
Expected Results
Since it should be equivalent, information about parenting/children structure should be also available in Forge
Actual Results
No information about parenting/children is available in Forge Product Event
Workaround
Have Connect webhook module on Forge.