Document Generator allows you to get the following data from the Folder in the Test Plan Board and from Test Repository:
Folder Name
To get the Folder Name printed on the document you just need to use the placeholder below:
&{for issues} ${Key} belongs to folder ${Folder.Name} &{end}
Folder Path
To get the Folder Path printed on the document you just need to use the placeholder below:
&{for issues} ${Key} folder path is ${Folder.Path} &{end}