How can i list the names of the attached files of a workitem with RPE ?
I can't find in the data source schema of the workitem where are the attachments.
Thx.
You can try printing workitem/workItem/auditableLinks/targetRef/comment (with condition workitem/workItem/auditableLinks/name == "com.ibm.team.workitem.linktype.attachment"). workitem/workItem/auditableLinks/targetRef/referencedItem/href gives link to the attachment.
David BOURDON selected this answer as the correct answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means.
Learn more here.