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

Retrieving objects from work item through API

 I have a task 222222, it has a change set, when we open it, file with path will shown in change Summary. if we right click and click load we can download it to my system directly.


Can we do it programmatic way, if we specify a task can we directly load objects associated with the task to sandbox.

i have tired the same but faced a issue.
i was able to fetch the changeset details from task and write log and create load rule for it. But load rule loads only latest version of the object in the stream but i need the exact version of object linked with task.  

Ex: 
task 222222 has object "A.js" version 2 in stream "AAA". And in stream "AAA" file "A.js" has version 5 as latest.
our load rule fetches version 5 object instead of version 2.

How to write load rule to fetch version 2 from stream.

Or any other way to achieve it through API.

0 votes


Be the first one to answer this question!

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,938

Question asked: Jan 15 '18, 8:05 a.m.

Question was seen: 1,368 times

Last updated: Jan 15 '18, 8:05 a.m.

Confirmation Cancel Confirm