Forum Discussion
PaoloT
12 years agoLithium Alumni (Retired)
Hi Gursimrat,
rather than via REST, have you tried using the coreNode context object? I think you should be able to retrieve this information by looking for the ID of the coreNode or by looking up at its ancestors.
The documentation can be found here
Regards,
Sign in to react to this post
Gursimrat
12 years agoLeader
Using ${coreNode.ancestors} gives FreeMarker template error
Sign in to react to this post
- PaoloT12 years agoLithium Alumni (Retired)
That's very odd - it should be fine when called from the context of a board. What error are you getting? Please keep in mind that ancestors is an array so you would need to look into the array elements to find out the information around the node's ancestors.
For example:
${coreNode.ancestors[0].id}Would return the id of the first ancestor.
Sign in to react to this post