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

Collections - what can they contain and can they be addressed via API?

Can a collection contain projects?

Can a collection be changed after creation (can artifacts be added and removed)?

Can a collection be accessed via the API such that its artifacts can be identified and processed by a javascript?

0 votes



One answer

Permanent link
You can find most of the answers in the official document.
https://jazz.net/help-dev/clm/topic/com.ibm.rational.rrm.help.doc/topics/c_collections.html

For the JavaScript part, the API is quite limited and you need to explain further what you want to do with it.
https://jazz.net/wiki/bin/view/Main/RMExtensionsMain

0 votes

Comments

Hi Donald

Yes, i saw the first link but it is not very clear "A collection is a set artifacts that you create for a specific purpose" - is a DNG project considered a DNG artifact for this purpose or not? If a project is not an artifact then it could not be included but if it is classed as an artifact then (by implication) it could be included. There is no mention of projects in that link, so it looks as if a collection cannot contain projects but it would be useful to get a clear answer.

For javascript API - a typical case is that you loop through the artifacts contained in the collection and do something with them (eg: check what type of artifact and if it is a module then export the content to csv). It is more a question if the API allows looping through the artifacts in a collection and identify the type of artifact to do some processing on it.


It's the first time that I have even seen a project referred to as an "artifact". If you think the Collection is a container, which contains various selected requirement artifacts, then the project is a bigger container which contains all Collection "containers" and all requirement artifacts. I don't know how you would put a project into a collection.

For the JavaScript, read the Wiki as it contains quite a few examples which shows you what you can do with the API.

Hi Donald
OK, thanks - looks like a project is not an artifact and therefore cannot be added to a collection.

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

Question asked: Mar 27 '16, 2:43 p.m.

Question was seen: 2,226 times

Last updated: Mar 28 '16, 5:54 a.m.

Confirmation Cancel Confirm