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

Get Deliery WorkItem using baseline UUID

Hello Folks,

I have a query to fetch delivery WorkItem using baseline UUID, do we have an API which supports this query? Please advise.

Thanks.

0 votes

Comments
Can you expand on your question? It's not clear what you are asking.

You can think of a baseline as a pointer to a point in time in the history of a component configuration... (i.e. think of it as list a change sets for a particular component). Given this, it's not clear how to fetch the "delivery work item" given a particular baseline.

Also, are you asking how to do this in Eclipse, or the SCM CLI (Command line) or using the plain Java SDK, etc.?

Sorry for being vague..

For instance, when we query the below URL to fetch a WorkItem via OSLC, the response gives away the details of the particular WI, which includes the snaphot baseline details with this tagĀ  - "snapshotorbaselineuri".


Likewise, is it possible to query delivery WI using snaphot baseline details using Java SDK or OSLC? Below url is one such example for the baseline link, in that we have the baseline UUID(_EzZRU-8nEeim3bXNpsaEdd), can we use that UUID to fetch the linked WI? Please advise






One answer

Permanent link

The short answer is "no". Baselines and snapshots are not associated to work items in any way. You can think of baselines as a pointer (or even a 'tag') which points to a particular spot in the history of a component configuration (or a different way to think of it is a pointer to the tip of an ordered list of change sets, in the order that the change sets were created/added in that configuration). A snapshot is just a collection of baselines. Change sets are associated with a work item, but not baselines or snapshots. So it is possible to enumerate 'every' change set in that baseline, and collect up all the associated work items (however the list of change sets / work items is likely A LOT), so I'm not sure this is what you want to do.

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

Question asked: Jan 09 '19, 2:33 a.m.

Question was seen: 1,307 times

Last updated: Jan 10 '19, 12:13 p.m.

Confirmation Cancel Confirm