It's all about the answers!

Ask a question

Get Deliery WorkItem using baseline UUID


Raj . (2113) | asked Jan 09 '19, 2:33 a.m.
edited Jan 09 '19, 3:03 a.m.
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.

Comments
David Lafreniere commented Jan 09 '19, 1:01 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
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.?

Raj . commented Jan 09 '19, 11:24 p.m. | edited Jan 10 '19, 12:05 p.m.
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
David Lafreniere (4.8k7) | answered Jan 10 '19, 12:13 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

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.

Your answer


Register or 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.