Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Listing attachments of a workitem with RPE

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.

0 votes


Accepted answer

Permanent link

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

0 votes

Comments

 Thanks it exactly answers my problem!

Your answer

Register or log in to post your 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,025

Question asked: May 24 '18, 11:35 a.m.

Question was seen: 1,787 times

Last updated: May 26 '18, 6:27 p.m.

Confirmation Cancel Confirm