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

RQM Rest API : How to auto rename an attachment while downloading if it already exists

Hello Experts,

I am using the RQM URL Utility to download attachments from Test Case Results of an RQM project area using the REST API links. I am downloading the attachments at the Project Level (not at TCR level) and I am able to download the attachments, however there are a few attachments in the project level which are having the same names.
When I run this utility, it keeps downloading the attachments one by one, however, if it finds an attachment already existing with the same name in this location, it will remove the old one and downloads the new one.

Is there a way we can avoid this. Can the utility simply rename the attachment with _1 if it already finds another attachment at that location ? Please help, its critical and urgent.

Thanks
Venkatesh Prasad

0 votes



One answer

Permanent link

Hi Venkatesh,

It is how the utility is designed. Nevertheless you have access to the src code where you can modify the functionality as per your business requirements. 


Thanks.

0 votes

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
× 10,939

Question asked: Mar 04 '20, 8:53 a.m.

Question was seen: 892 times

Last updated: Mar 06 '20, 5:25 a.m.

Confirmation Cancel Confirm